aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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: