[Python-checkins] r59084 - python/trunk/Lib/test/test_doctest.py
brett.cannon
python-checkins at python.org
Wed Nov 21 01:58:03 CET 2007
Author: brett.cannon
Date: Wed Nov 21 01:58:03 2007
New Revision: 59084
Modified:
python/trunk/Lib/test/test_doctest.py
Log:
Add a missing check before deleting a package's __loader__.
Modified: python/trunk/Lib/test/test_doctest.py
==============================================================================
--- python/trunk/Lib/test/test_doctest.py (original)
+++ python/trunk/Lib/test/test_doctest.py Wed Nov 21 01:58:03 2007
@@ -1922,7 +1922,8 @@
... package='test')
... suite.run(unittest.TestResult())
... finally:
- ... del test.__loader__
+ ... if added_loader:
+ ... del test.__loader__
<unittest.TestResult run=3 errors=0 failures=3>
'/' should be used as a path separator. It will be converted
More information about the Python-checkins
mailing list