cpython: 7f605fa1688d (original) (raw)

Mercurial > cpython

changeset 68332:7f605fa1688d

#8594: fix ResourceWarning in test_ftplib.py - patch by Nadeem Vawda. [#8594]

Giampaolo RodolĂ  g.rodola@gmail.com
date Tue, 08 Mar 2011 21:33:21 +0100
parents fa23f323d747
children 1947cca7f583
files Lib/test/test_ftplib.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_ftplib.py 4

line wrap: on

line diff

--- a/Lib/test/test_ftplib.py +++ b/Lib/test/test_ftplib.py @@ -619,8 +619,8 @@ class TestFTPClass(TestCase): def test_source_address_passive_connection(self): port = support.find_unused_port() self.client.source_address = (HOST, port)

def test_parse257(self): self.assertEqual(ftplib.parse257('257 "/foo/bar"'), '/foo/bar')