diff options
-rw-r--r-- | Lib/test/test_doctest.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_doctest.py b/Lib/test/test_doctest.py index e96785c..f53a759 100644 --- a/Lib/test/test_doctest.py +++ b/Lib/test/test_doctest.py @@ -1922,7 +1922,8 @@ def test_DocFileSuite(): ... 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 |