diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-07-20 00:14:29 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-07-20 00:14:29 (GMT) |
commit | 3c2738488ab893017c26e529ee2ebedd41bbb263 (patch) | |
tree | a14bf9cf73241e7c883ef5a7fb953185cb91a6ca /Misc | |
parent | 0a49c58fb0534af4c7754d17d1a1e959fc196878 (diff) | |
download | cpython-3c2738488ab893017c26e529ee2ebedd41bbb263.zip cpython-3c2738488ab893017c26e529ee2ebedd41bbb263.tar.gz cpython-3c2738488ab893017c26e529ee2ebedd41bbb263.tar.bz2 |
Some tests in importlib.test.source.test_abc_loader were testing what happens
when a loader is given missing or bad code object bytecode. Unfortunately an
exception related to source paths was masking what the proper exception to test
should be. Making the test explicitly set the environment fixed the test.
The code being test was not affected.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -88,6 +88,10 @@ Build Tests ----- +- Fixed tests in importlib.test.source.test_abc_loader that were masking + the proper exceptions that should be raised for missing or improper code + object bytecode. + - Removed importlib's custom test discovery code and switched to unittest.TestLoader.discover(). |