bpo-41521: Rename blacklist parameter to not_exported (GH-21824)
Rename "blacklist" parameter of test.support.check__all__() to
"not_exported".
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py
index 101942d..6b29759 100644
--- a/Lib/test/test_cgi.py
+++ b/Lib/test/test_cgi.py
@@ -553,9 +553,10 @@
("form-data", {"name": "files", "filename": 'fo"o;bar'}))
def test_all(self):
- blacklist = {"logfile", "logfp", "initlog", "dolog", "nolog",
- "closelog", "log", "maxlen", "valid_boundary"}
- support.check__all__(self, cgi, blacklist=blacklist)
+ not_exported = {
+ "logfile", "logfp", "initlog", "dolog", "nolog", "closelog", "log",
+ "maxlen", "valid_boundary"}
+ support.check__all__(self, cgi, not_exported=not_exported)
BOUNDARY = "---------------------------721837373350705526688164684"