Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cython
Commits
3d4b322b
Commit
3d4b322b
authored
Aug 20, 2018
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Exclude a test that seems platform specific (at least, it fails on MacOS-X for now obvious reason).
parent
9627499b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
runtests.py
runtests.py
+7
-0
tests/run/reload_ext_module.pyx
tests/run/reload_ext_module.pyx
+3
-1
No files found.
runtests.py
View file @
3d4b322b
...
@@ -227,6 +227,12 @@ def exclude_extension_in_pyver(*versions):
...
@@ -227,6 +227,12 @@ def exclude_extension_in_pyver(*versions):
return check
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):
def update_linetrace_extension(ext):
ext.define_macros.append(('
CYTHON_TRACE
', 1))
ext.define_macros.append(('
CYTHON_TRACE
', 1))
return ext
return ext
...
@@ -373,6 +379,7 @@ EXT_EXTRAS = {
...
@@ -373,6 +379,7 @@ EXT_EXTRAS = {
'tag:cpp11': update_cpp11_extension,
'tag:cpp11': update_cpp11_extension,
'tag:trace' : update_linetrace_extension,
'tag:trace' : update_linetrace_extension,
'tag:bytesformat': exclude_extension_in_pyver((3, 3), (3, 4)), # no %-bytes formatting
'tag:bytesformat': exclude_extension_in_pyver((3, 3), (3, 4)), # no %-bytes formatting
'tag:no-macos': exclude_extension_on_platform('darwin'),
}
}
...
...
tests/run/reload_ext_module.pyx
View file @
3d4b322b
# mode: run
# 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
import
reload_ext_module
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment