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
57036fdf
Commit
57036fdf
authored
Oct 04, 2015
by
Lisandro Dalcin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Windows: Workaround distutils consuming C compiler stderr stream
parent
8a9282c8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
runtests.py
runtests.py
+2
-1
No files found.
runtests.py
View file @
57036fdf
...
@@ -945,7 +945,8 @@ class CythonCompileTestCase(unittest.TestCase):
...
@@ -945,7 +945,8 @@ class CythonCompileTestCase(unittest.TestCase):
with captured_fd(2) as get_stderr:
with captured_fd(2) as get_stderr:
so_path = self.run_distutils(test_directory, module, workdir, incdir)
so_path = self.run_distutils(test_directory, module, workdir, incdir)
except Exception:
except Exception:
if 'cerror' in self.tags['tag'] and get_stderr and get_stderr():
if ('cerror' in self.tags['tag'] and
((get_stderr and get_stderr()) or sys.platform == 'win32')):
show_output = False # expected C compiler failure
show_output = False # expected C compiler failure
else:
else:
raise
raise
...
...
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