issue #615: Py3x fix.
This commit is contained in:
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…
Reference in New Issue