summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-09-27 22:04:16 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-09-27 22:04:16 (GMT)
commit3a53fbbfcf2785ff5ed738a0e592973a7dae1dfc (patch)
treea0c0f6672fed1c38d187170201e95bceeeeeb04a /Lib/test
parentbe17a117211a4e4cc08573852fedebd5a74d0229 (diff)
downloadcpython-3a53fbbfcf2785ff5ed738a0e592973a7dae1dfc.zip
cpython-3a53fbbfcf2785ff5ed738a0e592973a7dae1dfc.tar.gz
cpython-3a53fbbfcf2785ff5ed738a0e592973a7dae1dfc.tar.bz2
#3911 FTP.makeport was giving bad port numbers
reviewed by Benjamin and Antoine
Diffstat (limited to 'Lib/test')
-rw-r--r--Lib/test/test_ftplib.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_ftplib.py b/Lib/test/test_ftplib.py
index 10eabba..ae889f9 100644
--- a/Lib/test/test_ftplib.py
+++ b/Lib/test/test_ftplib.py
@@ -348,7 +348,7 @@ class TestFTPClass(TestCase):
self.client.dir(lambda x: l.append(x))
self.assertEqual(''.join(l), LIST_DATA.replace('\r\n', ''))
- def Xtest_makeport(self):
+ def test_makeport(self):
self.client.makeport()
# IPv4 is in use, just make sure send_eprt has not been used
self.assertEqual(self.server.handler.last_received_cmd, 'port')