Skip to content

Commit 9281a67

Browse files
Martin Larraldewillmcgugan
authored andcommitted
Fix wrong type in test_open_files (#162)
1 parent c5e5662 commit 9281a67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

fs/test.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -877,7 +877,7 @@ def test_open_files(self):
877877
[b'Hello\n', b'World\n']
878878
)
879879
with self.assertRaises(IOError):
880-
f.write('no')
880+
f.write(b'no')
881881
self.assertTrue(f.closed)
882882

883883
with self.fs.open('text', 'r') as f:

0 commit comments

Comments
 (0)