issue #615: Py3x fix.

This commit is contained in:
David Wilson 2019-08-10 00:44:49 +01:00
parent c464bb5346
commit 9e1e1ba015
1 changed files with 1 additions and 1 deletions

View File

@ -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)