]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-69605: In test_pyrepl.test_already_imported*, invalidate FS import caches (#143436) 143438/head
authorŁukasz Langa <lukasz@langa.pl>
Mon, 5 Jan 2026 17:00:48 +0000 (18:00 +0100)
committerŁukasz Langa <lukasz@langa.pl>
Mon, 5 Jan 2026 17:13:56 +0000 (18:13 +0100)
commitaed90508b3112aa5294c6d4ff6c2026e3c794129
tree8975ee7791719c1fcdb832d93b678fd4fa1f6a12
parent7db209b5647b77e9d665830d522153ed891d2e12
gh-69605: In test_pyrepl.test_already_imported*, invalidate FS import caches (#143436)

This makes the test robust against file systems with low timestamp resolution, which otherwise would fail to re-import in the tight loop of the test.
Lib/test/test_pyrepl/test_pyrepl.py