diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2023-03-31 14:34:19 +0200 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2023-04-02 12:38:06 +0200 |
commit | f1928e23e48e2d786f2f58ef9e9b2ebd0e1e4320 (patch) | |
tree | b570725dbfda401f8709008457aaabeadc3e81a6 | |
parent | 062d11f4a5fce863cacd7a3cf661db8862ebdad8 (diff) | |
download | cython-f1928e23e48e2d786f2f58ef9e9b2ebd0e1e4320.tar.gz |
Disable "pylong" and "longintrepr" tests in Py3.12 that accessed PyLongObject struct fields that were removed.
-rwxr-xr-x | runtests.py | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/runtests.py b/runtests.py index cc79a5325..62005dcb1 100755 --- a/runtests.py +++ b/runtests.py @@ -429,9 +429,12 @@ VER_DEP_MODULES = { 'run.pep526_variable_annotations', # typing module 'run.test_exceptions', # copied from Py3.7+ ]), - (3,11,999): (operator.gt, lambda x: x in ['run.py_unicode_strings', - ]), - + (3,11,999): (operator.gt, lambda x: x in [ + 'run.py_unicode_strings', # Py_UNICODE was removed + 'compile.pylong', # PyLongObject changed its structure + 'run.longintrepr', # PyLongObject changed its structure + ]), + } INCLUDE_DIRS = [ d for d in os.getenv('INCLUDE', '').split(os.pathsep) if d ] |