aboutsummaryrefslogtreecommitdiffstats
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorLennart Regebro <regebro@gmail.com>2012-08-21 17:29:47 +0200
committerLennart Regebro <regebro@gmail.com>2012-08-21 17:29:47 +0200
commitc8558d8d3b6c2cae273637ccec616489c2e7b439 (patch)
treef9f03bd3f9ad4a91ac2ba5902fb1a0b4defee8cf /setuptools/command/test.py
parentce53222d269dbf6bed8d97ed01437aba89faba53 (diff)
downloadexternal_python_setuptools-c8558d8d3b6c2cae273637ccec616489c2e7b439.tar.gz
external_python_setuptools-c8558d8d3b6c2cae273637ccec616489c2e7b439.tar.bz2
external_python_setuptools-c8558d8d3b6c2cae273637ccec616489c2e7b439.zip
Add failing test for #301.
--HG-- branch : distribute extra : rebase_source : 2972e762cdab88e90c1c8b9b9a336afc641e996f
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index b7aef969..59c10e84 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -141,9 +141,10 @@ class test(Command):
import unittest
loader_ep = EntryPoint.parse("x="+self.test_loader)
loader_class = loader_ep.load(require=False)
+ cks = loader_class()
unittest.main(
None, None, [unittest.__file__]+self.test_args,
- testLoader = loader_class()
+ testLoader = cks
)