summaryrefslogtreecommitdiffstats
path: root/Lib/test/_test_multiprocessing.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_multiprocessing.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_multiprocessing.py')
-rw-r--r--Lib/test/_test_multiprocessing.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/_test_multiprocessing.py b/Lib/test/_test_multiprocessing.py
index 58663c0..6a0e101 100644
--- a/Lib/test/_test_multiprocessing.py
+++ b/Lib/test/_test_multiprocessing.py
@@ -5581,9 +5581,11 @@ class TestSyncManagerTypes(unittest.TestCase):
class MiscTestCase(unittest.TestCase):
def test__all__(self):
- # Just make sure names in blacklist are excluded
+ # Just make sure names in not_exported are excluded
support.check__all__(self, multiprocessing, extra=multiprocessing.__all__,
- blacklist=['SUBDEBUG', 'SUBWARNING'])
+ not_exported=['SUBDEBUG', 'SUBWARNING'])
+
+
#
# Mixins
#