summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatti Picus <matti.picus@gmail.com>2022-11-29 08:55:55 +0200
committerStefan Behnel <stefan_ml@behnel.de>2023-03-07 09:14:38 +0100
commit21e64ec20619d9ac530030a8e0c259912af10407 (patch)
tree028723ad9f5399553b68dc56d7b8427880251dad
parentd883ccdec11dabc41e43e98ff4e12da5649e6316 (diff)
downloadcython-21e64ec20619d9ac530030a8e0c259912af10407.tar.gz
Disable "py_unicode_strings" test in Py3.12, which removed the support for it.
Picked from https://github.com/cython/cython/commit/9d38bf8d620fd09166a5469c76b54f66d7fbd828
-rwxr-xr-xruntests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/runtests.py b/runtests.py
index 91a0dd257..cc79a5325 100755
--- a/runtests.py
+++ b/runtests.py
@@ -429,6 +429,9 @@ 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',
+ ]),
+
}
INCLUDE_DIRS = [ d for d in os.getenv('INCLUDE', '').split(os.pathsep) if d ]