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_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 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):