Skip to content

Commit

Permalink
Reformat code of fs.test module with black
Browse files Browse the repository at this point in the history
  • Loading branch information
althonos committed Dec 13, 2021
1 parent 13f1c29 commit c29a917
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion fs/test.py
Expand Up @@ -1752,7 +1752,9 @@ def test_move_dir_same_fs(self):
self.assert_text("/foo2/bar/baz/test.txt", "Goodbye, World")

self.assertEqual(sorted(self.fs.listdir("/")), ["egg", "foo2", "top.txt"])
self.assertEqual(sorted(x.name for x in self.fs.scandir("/")), ["egg", "foo2", "top.txt"])
self.assertEqual(
sorted(x.name for x in self.fs.scandir("/")), ["egg", "foo2", "top.txt"]
)

def _test_move_dir_write(self, protocol):
# Test moving to this filesystem from another.
Expand Down

0 comments on commit c29a917

Please sign in to comment.