summaryrefslogtreecommitdiff
path: root/setuptools/command/test.py
diff options
context:
space:
mode:
authorTarek Ziade <tarek@ziade.org>2010-05-06 18:10:32 +0200
committerTarek Ziade <tarek@ziade.org>2010-05-06 18:10:32 +0200
commit6a6a261fa50522d77fba6d6345fb71ba9f00c311 (patch)
tree4d025291624e9ce33cfed1400b13907d8384d145 /setuptools/command/test.py
parent3cd5038930832fce95fb41d20150e173eb9894b5 (diff)
downloadpython-setuptools-git-6a6a261fa50522d77fba6d6345fb71ba9f00c311.tar.gz
make sure all tests passes on all python versions fixes #149
--HG-- branch : distribute extra : rebase_source : 6288f4fcf65083b9d4ffb0ea8b35af44e699b4d5
Diffstat (limited to 'setuptools/command/test.py')
-rw-r--r--setuptools/command/test.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/setuptools/command/test.py b/setuptools/command/test.py
index b7aef969..0399f5bf 100644
--- a/setuptools/command/test.py
+++ b/setuptools/command/test.py
@@ -31,7 +31,11 @@ class ScanningLoader(TestLoader):
submodule = module.__name__+'.'+file
else:
continue
- tests.append(self.loadTestsFromName(submodule))
+ try:
+ tests.append(self.loadTestsFromName(submodule))
+ except Exception, e:
+ import pdb; pdb.set_trace()
+ self.loadTestsFromName(submodule)
if len(tests)!=1:
return self.suiteClass(tests)