Commit 3d4b322b authored by Stefan Behnel's avatar Stefan Behnel

Exclude a test that seems platform specific (at least, it fails on MacOS-X for now obvious reason).

parent 9627499b
......@@ -227,6 +227,12 @@ def exclude_extension_in_pyver(*versions):
return check
def exclude_extension_on_platform(*platforms):
def check(ext):
return EXCLUDE_EXT if sys.platform in platforms else ext
return check
def update_linetrace_extension(ext):
ext.define_macros.append(('CYTHON_TRACE', 1))
return ext
......@@ -373,6 +379,7 @@ EXT_EXTRAS = {
'tag:cpp11': update_cpp11_extension,
'tag:trace' : update_linetrace_extension,
'tag:bytesformat': exclude_extension_in_pyver((3, 3), (3, 4)), # no %-bytes formatting
'tag:no-macos': exclude_extension_on_platform('darwin'),
}
......
# mode: run
# tag: pep489
# tag: pep489, no-macos
# FIXME: don't know why this does not work on MacOS, but it's not worth failing the builds for now.
import reload_ext_module
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment