diff options
author | Victor Stinner <vstinner@python.org> | 2020-08-17 05:20:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-17 05:20:40 (GMT) |
commit | fbf43f051e7bf479709e122efa4b6edd4b09d4df (patch) | |
tree | 7fc63b08b52ae22d22885debb9908a37109711f7 /Lib/test/test_calendar.py | |
parent | 97003466d481670b9234b343319c6e02f9c5d732 (diff) | |
download | cpython-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_calendar.py')
-rw-r--r-- | Lib/test/test_calendar.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_calendar.py b/Lib/test/test_calendar.py index 7c7ec1c..c641e8c 100644 --- a/Lib/test/test_calendar.py +++ b/Lib/test/test_calendar.py @@ -934,12 +934,12 @@ class CommandLineTestCase(unittest.TestCase): class MiscTestCase(unittest.TestCase): def test__all__(self): - blacklist = {'mdays', 'January', 'February', 'EPOCH', - 'MONDAY', 'TUESDAY', 'WEDNESDAY', 'THURSDAY', 'FRIDAY', - 'SATURDAY', 'SUNDAY', 'different_locale', 'c', - 'prweek', 'week', 'format', 'formatstring', 'main', - 'monthlen', 'prevmonth', 'nextmonth'} - support.check__all__(self, calendar, blacklist=blacklist) + not_exported = { + 'mdays', 'January', 'February', 'EPOCH', 'MONDAY', 'TUESDAY', + 'WEDNESDAY', 'THURSDAY', 'FRIDAY', 'SATURDAY', 'SUNDAY', + 'different_locale', 'c', 'prweek', 'week', 'format', + 'formatstring', 'main', 'monthlen', 'prevmonth', 'nextmonth'} + support.check__all__(self, calendar, not_exported=not_exported) class TestSubClassingCase(unittest.TestCase): |