mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej
This commit is contained in:
parent
d226d308a3
commit
19e69c5a20
15 changed files with 111 additions and 16 deletions
|
@ -1049,10 +1049,19 @@ class TestTimeouts(TestCase):
|
|||
ftp.close()
|
||||
|
||||
|
||||
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)
|
||||
|
||||
|
||||
def test_main():
|
||||
tests = [TestFTPClass, TestTimeouts,
|
||||
TestIPv6Environment,
|
||||
TestTLS_FTPClassMixin, TestTLS_FTPClass]
|
||||
TestTLS_FTPClassMixin, TestTLS_FTPClass,
|
||||
MiscTestCase]
|
||||
|
||||
thread_info = support.threading_setup()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue