]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Some tests in importlib.test.source.test_abc_loader were testing what happens
authorBrett Cannon <bcannon@gmail.com>
Mon, 20 Jul 2009 00:14:29 +0000 (00:14 +0000)
committerBrett Cannon <bcannon@gmail.com>
Mon, 20 Jul 2009 00:14:29 +0000 (00:14 +0000)
commit3c2738488ab893017c26e529ee2ebedd41bbb263
treea14bf9cf73241e7c883ef5a7fb953185cb91a6ca
parent0a49c58fb0534af4c7754d17d1a1e959fc196878
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.
Lib/importlib/test/source/test_abc_loader.py
Misc/NEWS