mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +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
|
@ -5363,12 +5363,12 @@ class NTEventLogHandlerTest(BaseTest):
|
|||
|
||||
class MiscTestCase(unittest.TestCase):
|
||||
def test__all__(self):
|
||||
blacklist = {'logThreads', 'logMultiprocessing',
|
||||
'logProcesses', 'currentframe',
|
||||
'PercentStyle', 'StrFormatStyle', 'StringTemplateStyle',
|
||||
'Filterer', 'PlaceHolder', 'Manager', 'RootLogger',
|
||||
'root', 'threading'}
|
||||
support.check__all__(self, logging, blacklist=blacklist)
|
||||
not_exported = {
|
||||
'logThreads', 'logMultiprocessing', 'logProcesses', 'currentframe',
|
||||
'PercentStyle', 'StrFormatStyle', 'StringTemplateStyle',
|
||||
'Filterer', 'PlaceHolder', 'Manager', 'RootLogger', 'root',
|
||||
'threading'}
|
||||
support.check__all__(self, logging, not_exported=not_exported)
|
||||
|
||||
|
||||
# Set the locale to the platform-dependent default. I have no idea
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue