Commit 79f2ad01 authored by Brett Cannon's avatar Brett Cannon

Add a missing check before deleting a package's __loader__.

parent 61b6eae2
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment