]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-121359: Run test_pyrepl in isolated mode (GH-121414) (#121417)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Fri, 5 Jul 2024 20:55:14 +0000 (22:55 +0200)
committerGitHub <noreply@github.com>
Fri, 5 Jul 2024 20:55:14 +0000 (20:55 +0000)
commit4aa0c5ec34836a026d06e556784c41e0eeb807b3
treeedfc5a64124d8ae53edd626f7f6a269e187cb53a
parentbc4cd91aef6a860ef911788caef5d11834c7cd2f
[3.13] gh-121359: Run test_pyrepl in isolated mode (GH-121414) (#121417)

gh-121359: Run test_pyrepl in isolated mode (GH-121414)

run_repl() now pass the -I option (isolated mode) to Python if the
'env' parameter is not set.
(cherry picked from commit 6239d41527d5977aa5d44e4b894d719bc045860e)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_pyrepl/test_pyrepl.py