diff options
author | Victor Stinner <vstinner@python.org> | 2021-11-12 15:19:09 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-12 15:19:09 (GMT) |
commit | 9d3271438431c37c29c359f5b73e8094b5f82912 (patch) | |
tree | bd2ce77c372a256ca67c6bac57a64ad9a8aaabda /Lib/test/test_regrtest.py | |
parent | 8f1b71de731dda668aede7c9b34d0ad7afb8f6a8 (diff) | |
download | cpython-9d3271438431c37c29c359f5b73e8094b5f82912.zip cpython-9d3271438431c37c29c359f5b73e8094b5f82912.tar.gz cpython-9d3271438431c37c29c359f5b73e8094b5f82912.tar.bz2 |
bpo-45745: Remove regrtest --findleaks options (GH-29514)
Remove the --findleaks command line option of regrtest: use the
--fail-env-changed option instead. Since Python 3.7, it was a
deprecated alias to the --fail-env-changed option.
Diffstat (limited to 'Lib/test/test_regrtest.py')
-rw-r--r-- | Lib/test/test_regrtest.py | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/Lib/test/test_regrtest.py b/Lib/test/test_regrtest.py index dcc795d..08e2c87 100644 --- a/Lib/test/test_regrtest.py +++ b/Lib/test/test_regrtest.py @@ -1178,7 +1178,7 @@ class ArgsTestCase(BaseTestCase): no_test_ran=[testname]) @support.cpython_only - def test_findleaks(self): + def test_uncollectable(self): code = textwrap.dedent(r""" import _testcapi import gc @@ -1203,12 +1203,6 @@ class ArgsTestCase(BaseTestCase): env_changed=[testname], fail_env_changed=True) - # --findleaks is now basically an alias to --fail-env-changed - output = self.run_tests("--findleaks", testname, exitcode=3) - self.check_executed_tests(output, [testname], - env_changed=[testname], - fail_env_changed=True) - def test_multiprocessing_timeout(self): code = textwrap.dedent(r""" import time |