summaryrefslogtreecommitdiff
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
commit72f76a72ee43ca8b48bb2607f5fb3a9e1bec35ef (patch)
tree6fbda3b68c394fb110275d5a2b3941211ef62227
parent5c0bd7c36c104464bba23d2519b457a2102e6408 (diff)
downloadpython-setuptools-bitbucket-72f76a72ee43ca8b48bb2607f5fb3a9e1bec35ef.tar.gz
Extract variable for nicer indentation
-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: