]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-30759: regrtest: list_cases() now unload modules (#2582)
authorVictor Stinner <victor.stinner@gmail.com>
Wed, 5 Jul 2017 08:52:06 +0000 (10:52 +0200)
committerGitHub <noreply@github.com>
Wed, 5 Jul 2017 08:52:06 +0000 (10:52 +0200)
commit8767de2f776e0c8c7404680cdacad83e5d902955
tree44ea31bc260d0e80003dfaae4722dc75b341419d
parent668489a6d5a5b124aea35820ca90cb5e3b2b3ecd
bpo-30759: regrtest: list_cases() now unload modules (#2582)

list_cases() now unload modules, as the test runner does, to prevent
a failure in test_xpickle about test.pickletester loaded after
loading test_cpickle:

./python -m test --list-cases test_cpickle test_xpickle
Lib/test/regrtest.py