Skip to content

Commit

Permalink
debug
Browse files Browse the repository at this point in the history
  • Loading branch information
vstinner committed Mar 9, 2024
1 parent cf48c37 commit 8ebca0d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_pythoncapi_compat_cext.c
Original file line number Diff line number Diff line change
Expand Up @@ -1522,7 +1522,8 @@ test_hash(PyObject *Py_UNUSED(module), PyObject *Py_UNUSED(args))
assert(Py_HashPointer(ptr1) == (Py_hash_t)ptr1);
#endif

#if PY_VERSION_HEX >= 0x030400B1
#if ((!defined(PYPY_VERSION) && PY_VERSION_HEX >= 0x030400B1) \
|| (defined(PYPY_VERSION) && PY_VERSION_HEX >= 0x03070000 && PYPY_VERSION_NUM >= 0x07090000))
// Just check that constants are available
size_t bits = PyHASH_BITS;
assert(bits >= 8);
Expand Down

0 comments on commit 8ebca0d

Please sign in to comment.