diff options
Diffstat (limited to 'fs/tests/__init__.py')
-rw-r--r-- | fs/tests/__init__.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/tests/__init__.py b/fs/tests/__init__.py index 9fa69c6..90a1afe 100644 --- a/fs/tests/__init__.py +++ b/fs/tests/__init__.py @@ -172,7 +172,7 @@ class FSTestCases: def test_rename(self): check = self.check - self.fs.open("foo.txt", 'wt').write("Hello, World!") + self.fs.createfile("foo.txt","Hello, World!") self.assert_(check("foo.txt")) self.fs.rename("foo.txt", "bar.txt") self.assert_(check("bar.txt")) |