diff options
author | Martin Panter <vadmium+py@gmail.com> | 2016-03-31 08:25:59 +0000 |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2016-03-31 08:25:59 +0000 |
commit | c7388039848c599e930620c8f544f18b1ae7187d (patch) | |
tree | 0569f16bc4d086576e4a845bb14792916a400801 /Lib/test/test_ftplib.py | |
parent | 750bbb301975bc327fe5f4fcdf0cc9e1953a56d5 (diff) | |
parent | 3d50f38849cb50ac6366dd38c93d21631e4fc844 (diff) | |
download | cpython-c7388039848c599e930620c8f544f18b1ae7187d.tar.gz |
Issue #22854: Merge UnsupportedOperation fixes from 3.5
Diffstat (limited to 'Lib/test/test_ftplib.py')
-rw-r--r-- | Lib/test/test_ftplib.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py index aef66da98a..9d8de211df 100644 --- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py @@ -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: |