aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2014-07-05 20:31:39 -0400
committerJason R. Coombs <jaraco@jaraco.com>2014-07-05 20:31:39 -0400
commit26d4bb13598407c64ab1a77a33716411c5fbad3f (patch)
tree35539598dab3233ef732732d82158f88980918d1 /setuptools/command/test.py
parent508f0f5134f3f5e87f53b7773086c8ecb30c527e (diff)
downloadexternal_python_setuptools-26d4bb13598407c64ab1a77a33716411c5fbad3f.tar.gz
external_python_setuptools-26d4bb13598407c64ab1a77a33716411c5fbad3f.tar.bz2
external_python_setuptools-26d4bb13598407c64ab1a77a33716411c5fbad3f.zip
Remove doctests module. It is now part of Python.
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index 18e90ffc..1038da71 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -20,8 +20,7 @@ class ScanningLoader(TestLoader):
the return value to the tests.
"""
tests = []
- if module.__name__ != 'setuptools.tests.doctest': # ugh
- tests.append(TestLoader.loadTestsFromModule(self, module))
+ tests.append(TestLoader.loadTestsFromModule(self, module))
if hasattr(module, "additional_tests"):
tests.append(module.additional_tests())