summaryrefslogtreecommitdiffstats
path: root/Lib/unittest/loader.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/unittest/loader.py')
-rw-r--r--Lib/unittest/loader.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/unittest/loader.py b/Lib/unittest/loader.py
index c776f16..b254c80 100644
--- a/Lib/unittest/loader.py
+++ b/Lib/unittest/loader.py
@@ -479,6 +479,8 @@ class TestLoader(object):
return tests, True
finally:
self._loading_packages.discard(name)
+ else:
+ return None, False
defaultTestLoader = TestLoader()