Skip to content

Commit 9e1e1ba

Browse files
committed
issue #615: Py3x fix.
1 parent c464bb5 commit 9e1e1ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/ansible/tests/connection_test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ class FetchFileTest(ConnectionMixin, testlib.TestCase):
103103
def test_success(self):
104104
with tempfile.NamedTemporaryFile(prefix='mitotest') as ifp, \
105105
tempfile.NamedTemporaryFile(prefix='mitotest') as ofp:
106-
ifp.write('x' * (1048576 * 4))
106+
ifp.write(b'x' * (1048576 * 4))
107107
ifp.flush()
108108
ifp.seek(0)
109109

0 commit comments

Comments
 (0)