diff --git a/tests/basic/test_commands.py b/tests/basic/test_commands.py index d11f9a3b2..be592b09e 100644 --- a/tests/basic/test_commands.py +++ b/tests/basic/test_commands.py @@ -764,7 +764,9 @@ class TestCommands(TestCase): read_only_files = {coder.get_rel_fname(f) for f in coder.abs_read_only_fnames} self.assertEqual(added_files, {str(Path("file1.txt"))}) - self.assertTrue(any(os.path.samefile(external_file_path, f) for f in read_only_files)) + self.assertTrue( + any(os.path.samefile(external_file_path, f) for f in read_only_files) + ) # Clean up Path(session_file).unlink()