diff options
author | Victor Stinner <vstinner@python.org> | 2020-08-11 15:26:59 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-11 06:26:59 -0700 |
commit | fabd7bb8e0450f16ed5c5c0ad575aa413d65712d (patch) | |
tree | 697881ab8dd38a990ebd68a018a20f08c2ab3c67 /Lib/test/test_tools/test_sundry.py | |
parent | 1d541c25c8019f7a0b80b3e1b437abe171e40b65 (diff) | |
download | cpython-fabd7bb8e0450f16ed5c5c0ad575aa413d65712d.tar.gz cpython-fabd7bb8e0450f16ed5c5c0ad575aa413d65712d.zip |
bpo-41521: Replace whitelist/blacklist with allowlist/denylist (GH-21822)
Automerge-Triggered-By: @tiran
Diffstat (limited to 'Lib/test/test_tools/test_sundry.py')
-rw-r--r-- | Lib/test/test_tools/test_sundry.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Lib/test/test_tools/test_sundry.py b/Lib/test/test_tools/test_sundry.py index 8b5a963e25b..52369ec09a7 100644 --- a/Lib/test/test_tools/test_sundry.py +++ b/Lib/test/test_tools/test_sundry.py @@ -16,18 +16,18 @@ skip_if_missing() class TestSundryScripts(unittest.TestCase): # At least make sure the rest don't have syntax errors. When tests are - # added for a script it should be added to the whitelist below. + # added for a script it should be added to the allowlist below. # scripts that have independent tests. - whitelist = ['reindent', 'pdeps', 'gprof2html', 'md5sum'] + allowlist = ['reindent', 'pdeps', 'gprof2html', 'md5sum'] # scripts that can't be imported without running - blacklist = ['make_ctype'] + denylist = ['make_ctype'] # scripts that use windows-only modules windows_only = ['win_add2path'] - # blacklisted for other reasons + # denylisted for other reasons other = ['analyze_dxp', '2to3'] - skiplist = blacklist + whitelist + windows_only + other + skiplist = denylist + allowlist + windows_only + other def test_sundry(self): old_modules = import_helper.modules_setup() |