mirror of
https://github.com/python/cpython.git
synced 2025-08-30 05:35:08 +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
|
@ -1107,10 +1107,11 @@ class TestTimeouts(TestCase):
|
|||
|
||||
class MiscTestCase(TestCase):
|
||||
def test__all__(self):
|
||||
blacklist = {'MSG_OOB', 'FTP_PORT', 'MAXLINE', 'CRLF', 'B_CRLF',
|
||||
'Error', 'parse150', 'parse227', 'parse229', 'parse257',
|
||||
'print_line', 'ftpcp', 'test'}
|
||||
support.check__all__(self, ftplib, blacklist=blacklist)
|
||||
not_exported = {
|
||||
'MSG_OOB', 'FTP_PORT', 'MAXLINE', 'CRLF', 'B_CRLF', 'Error',
|
||||
'parse150', 'parse227', 'parse229', 'parse257', 'print_line',
|
||||
'ftpcp', 'test'}
|
||||
support.check__all__(self, ftplib, not_exported=not_exported)
|
||||
|
||||
|
||||
def test_main():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue