Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8640c7 commit 174d3bfCopy full SHA for 174d3bf
1 file changed
tests/staged_files_only_test.py
@@ -145,9 +145,9 @@ def img_staged(tempdir_factory):
145
146
def _test_img_state(path, expected_file='img1.jpg', status='A'):
147
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()
+ with io.open(path.img_filename, 'rb') as f1
+ with io.open(get_resource_path(expected_file), 'rb') as f2:
+ assert f1.read() == f2.read()
151
actual_status = get_short_git_status()['img.jpg']
152
assert status == actual_status
153
0 commit comments