issue #615: Py3x fix.

pull/618/head
David Wilson 5 years ago
parent c464bb5346
commit 9e1e1ba015

@ -103,7 +103,7 @@ class FetchFileTest(ConnectionMixin, testlib.TestCase):
def test_success(self):
with tempfile.NamedTemporaryFile(prefix='mitotest') as ifp, \
tempfile.NamedTemporaryFile(prefix='mitotest') as ofp:
ifp.write('x' * (1048576 * 4))
ifp.write(b'x' * (1048576 * 4))
ifp.flush()
ifp.seek(0)

Loading…
Cancel
Save