Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
setuptools
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
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Jérome Perrin
setuptools
Commits
a33e201d
Commit
a33e201d
authored
Oct 10, 2015
by
Jason R. Coombs
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move value checking into its own block.
parent
0a30d491
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
setuptools/command/test.py
setuptools/command/test.py
+5
-4
No files found.
setuptools/command/test.py
View file @
a33e201d
...
...
@@ -62,15 +62,16 @@ class test(Command):
def
finalize_options
(
self
):
if
self
.
test_suite
and
self
.
test_module
:
raise
DistutilsOptionError
(
"You may specify a module or a suite, but not both"
)
if
self
.
test_suite
is
None
:
if
self
.
test_module
is
None
:
self
.
test_suite
=
self
.
distribution
.
test_suite
else
:
self
.
test_suite
=
self
.
test_module
+
".test_suite"
elif
self
.
test_module
:
raise
DistutilsOptionError
(
"You may specify a module or a suite, but not both"
)
if
self
.
test_loader
is
None
:
self
.
test_loader
=
getattr
(
self
.
distribution
,
'test_loader'
,
None
)
...
...
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