summaryrefslogtreecommitdiff
path: root/Lib/test/test_ftplib.py
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2016-03-31 08:25:59 +0000
committerMartin Panter <vadmium+py@gmail.com>2016-03-31 08:25:59 +0000
commitc7388039848c599e930620c8f544f18b1ae7187d (patch)
tree0569f16bc4d086576e4a845bb14792916a400801 /Lib/test/test_ftplib.py
parent750bbb301975bc327fe5f4fcdf0cc9e1953a56d5 (diff)
parent3d50f38849cb50ac6366dd38c93d21631e4fc844 (diff)
downloadcpython-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.py11
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: