diff options
| author | Victor Stinner <vstinner@python.org> | 2020-08-17 07:20:40 +0200 | 
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-17 07:20:40 +0200 | 
| commit | fbf43f051e7bf479709e122efa4b6edd4b09d4df (patch) | |
| tree | 7fc63b08b52ae22d22885debb9908a37109711f7 /Lib/test/test_cgi.py | |
| parent | 97003466d481670b9234b343319c6e02f9c5d732 (diff) | |
| download | cpython-git-fbf43f051e7bf479709e122efa4b6edd4b09d4df.tar.gz | |
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_cgi.py')
| -rw-r--r-- | Lib/test/test_cgi.py | 7 | 
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_cgi.py b/Lib/test/test_cgi.py index 101942de94..6b29759da4 100644 --- a/Lib/test/test_cgi.py +++ b/Lib/test/test_cgi.py @@ -553,9 +553,10 @@ this is the content of the fake file              ("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"  | 
