mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-41521: Rename blacklist parameter to not_exported (GH-21824)
Rename "blacklist" parameter of test.support.check__all__() to "not_exported".
This commit is contained in:
parent
97003466d4
commit
fbf43f051e
20 changed files with 98 additions and 97 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue