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
e5f8db6c
Commit
e5f8db6c
authored
Jun 07, 2019
by
aiudirog
Committed by
Stefan Behnel
Jun 07, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix parallel option test in TestCythonizeArgsParser (GH-2982)
parent
3f402478
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
Cython/Build/Tests/TestCythonizeArgsParser.py
Cython/Build/Tests/TestCythonizeArgsParser.py
+5
-2
No files found.
Cython/Build/Tests/TestCythonizeArgsParser.py
View file @
e5f8db6c
from
Cython.Build.Cythonize
import
create_args_parser
,
parse_args_raw
,
parse_args
from
Cython.Build.Cythonize
import
(
create_args_parser
,
parse_args_raw
,
parse_args
,
parallel_compiles
)
from
unittest
import
TestCase
from
unittest
import
TestCase
import
argparse
import
argparse
...
@@ -22,7 +25,7 @@ class TestCythonizeArgsParser(TestCase):
...
@@ -22,7 +25,7 @@ class TestCythonizeArgsParser(TestCase):
if
(
getattr
(
options
,
opt_name
)
is
not
None
)
and
(
not
opt_name
in
skip
):
if
(
getattr
(
options
,
opt_name
)
is
not
None
)
and
(
not
opt_name
in
skip
):
self
.
assertEqual
(
opt_name
,
""
,
msg
=
"For option "
+
opt_name
)
self
.
assertEqual
(
opt_name
,
""
,
msg
=
"For option "
+
opt_name
)
return
False
return
False
if
options
.
parallel
!=
3
and
(
not
'parallel'
in
skip
):
if
options
.
parallel
!=
parallel_compiles
and
(
not
'parallel'
in
skip
):
return
False
return
False
return
True
return
True
...
...
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