Skip to content

Commit d0fdb89

Browse files
committed
Python 3 compatibility in test_multi_chunk_file
1 parent 974899f commit d0fdb89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test_grid_file.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -301,7 +301,7 @@ def test_close(self):
301301
f.close()
302302

303303
def test_multi_chunk_file(self):
304-
random_string = 'a' * (DEFAULT_CHUNK_SIZE + 1000)
304+
random_string = b('a') * (DEFAULT_CHUNK_SIZE + 1000)
305305

306306
f = GridIn(self.db.fs)
307307
f.write(random_string)

0 commit comments

Comments
 (0)