summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_logging.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-08-17 05:20:40 (GMT)
committerGitHub <noreply@github.com>2020-08-17 05:20:40 (GMT)
commitfbf43f051e7bf479709e122efa4b6edd4b09d4df (patch)
tree7fc63b08b52ae22d22885debb9908a37109711f7 /Lib/test/test_logging.py
parent97003466d481670b9234b343319c6e02f9c5d732 (diff)
downloadcpython-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_logging.py')
-rw-r--r--Lib/test/test_logging.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_logging.py b/Lib/test/test_logging.py
index d8b3727..00a4825 100644
--- a/Lib/test/test_logging.py
+++ b/Lib/test/test_logging.py
@@ -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