diff options
Diffstat (limited to 'fs/tests/__init__.py')
-rw-r--r-- | fs/tests/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/fs/tests/__init__.py b/fs/tests/__init__.py index d99c1b1..3aa8ec8 100644 --- a/fs/tests/__init__.py +++ b/fs/tests/__init__.py @@ -163,8 +163,8 @@ class FSTestCases(object): b("to you, good sir!")), chunk_size=2) self.assertEquals(self.fs.getcontents( "hello", "rb"), b("to you, good sir!")) - self.fs.setcontents("hello", b"") - self.assertEquals(self.fs.getcontents("hello", "rb"), "") + self.fs.setcontents("hello", b("")) + self.assertEquals(self.fs.getcontents("hello", "rb"), b("")) def test_setcontents_async(self): # setcontents() should accept both a string... |