diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2015-10-10 20:03:59 -0400 |
---|---|---|
committer | Jason R. Coombs <jaraco@jaraco.com> | 2015-10-10 20:03:59 -0400 |
commit | 82f3e20506b4e2646880ec7ac5bb6b10e03e8c40 (patch) | |
tree | 85c3a8a7ee65246dcf763b2d1202b6e3fb894b18 /setuptools/command/test.py | |
parent | a33e201d1a86dd108e8641f641ff24c7f00ba054 (diff) | |
download | external_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.py | 5 |
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: |