fix ftp tests on windows

This commit is contained in:
Daniel Graña 2018-07-07 10:15:20 -03:00
parent fb09148c91
commit a21abac743
1 changed files with 1 additions and 0 deletions

View File

@ -915,6 +915,7 @@ class BaseFTPTestCase(unittest.TestCase):
def test_ftp_local_filename(self):
f, local_fname = tempfile.mkstemp()
local_fname = to_bytes(local_fname)
os.close(f)
meta = {"ftp_local_filename": local_fname}
meta.update(self.req_meta)