summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_support.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-08-17 05:20:40 (GMT)
committerGitHub <noreply@github.com>2020-08-17 05:20:40 (GMT)
commitfbf43f051e7bf479709e122efa4b6edd4b09d4df (patch)
tree7fc63b08b52ae22d22885debb9908a37109711f7 /Lib/test/test_support.py
parent97003466d481670b9234b343319c6e02f9c5d732 (diff)
downloadcpython-fbf43f051e7bf479709e122efa4b6edd4b09d4df.zip
cpython-fbf43f051e7bf479709e122efa4b6edd4b09d4df.tar.gz
cpython-fbf43f051e7bf479709e122efa4b6edd4b09d4df.tar.bz2
bpo-41521: Rename blacklist parameter to not_exported (GH-21824)
Rename "blacklist" parameter of test.support.check__all__() to "not_exported".
Diffstat (limited to 'Lib/test/test_support.py')
-rw-r--r--Lib/test/test_support.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/test/test_support.py b/Lib/test/test_support.py
index b268511..71a66c2 100644
--- a/Lib/test/test_support.py
+++ b/Lib/test/test_support.py
@@ -391,14 +391,14 @@ class TestSupport(unittest.TestCase):
def test_check__all__(self):
extra = {'tempdir'}
- blacklist = {'template'}
+ not_exported = {'template'}
support.check__all__(self,
tempfile,
extra=extra,
- blacklist=blacklist)
+ not_exported=not_exported)
extra = {'TextTestResult', 'installHandler'}
- blacklist = {'load_tests', "TestProgram", "BaseTestSuite"}
+ not_exported = {'load_tests', "TestProgram", "BaseTestSuite"}
support.check__all__(self,
unittest,
@@ -407,7 +407,7 @@ class TestSupport(unittest.TestCase):
"unittest.main", "unittest.runner",
"unittest.signals", "unittest.async_case"),
extra=extra,
- blacklist=blacklist)
+ not_exported=not_exported)
self.assertRaises(AssertionError, support.check__all__, self, unittest)