aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:03:59 -0400
committerJason R. Coombs <jaraco@jaraco.com>2015-10-10 20:03:59 -0400
commit82f3e20506b4e2646880ec7ac5bb6b10e03e8c40 (patch)
tree85c3a8a7ee65246dcf763b2d1202b6e3fb894b18 /setuptools/command/test.py
parenta33e201d1a86dd108e8641f641ff24c7f00ba054 (diff)
downloadexternal_python_setuptools-82f3e20506b4e2646880ec7ac5bb6b10e03e8c40.tar.gz
external_python_setuptools-82f3e20506b4e2646880ec7ac5bb6b10e03e8c40.tar.bz2
external_python_setuptools-82f3e20506b4e2646880ec7ac5bb6b10e03e8c40.zip
Extract variable for nicer indentation
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 4d859808..225f4673 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -63,9 +63,8 @@ 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"
- )
+ msg = "You may specify a module or a suite, but not both"
+ raise DistutilsOptionError(msg)
if self.test_suite is None:
if self.test_module is None: