Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 174d3bf

Browse files
authored
Minor style adjustment
1 parent a8640c7 commit 174d3bf

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/staged_files_only_test.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ def img_staged(tempdir_factory):
145145

146146
def _test_img_state(path, expected_file='img1.jpg', status='A'):
147147
assert os.path.exists(path.img_filename)
148-
with io.open(path.img_filename, 'rb') as f1,\
149-
io.open(get_resource_path(expected_file), 'rb') as f2:
150-
assert f1.read() == f2.read()
148+
with io.open(path.img_filename, 'rb') as f1
149+
with io.open(get_resource_path(expected_file), 'rb') as f2:
150+
assert f1.read() == f2.read()
151151
actual_status = get_short_git_status()['img.jpg']
152152
assert status == actual_status
153153

0 commit comments

Comments
 (0)