From 174d3bf057a56820ea7bc72496a7921389942cb3 Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 10 Aug 2018 12:33:21 -0700 Subject: [PATCH] Minor style adjustment --- tests/staged_files_only_test.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/staged_files_only_test.py b/tests/staged_files_only_test.py index f5c14668..9e1a0a4c 100644 --- a/tests/staged_files_only_test.py +++ b/tests/staged_files_only_test.py @@ -145,9 +145,9 @@ def img_staged(tempdir_factory): def _test_img_state(path, expected_file='img1.jpg', status='A'): assert os.path.exists(path.img_filename) - with io.open(path.img_filename, 'rb') as f1,\ - io.open(get_resource_path(expected_file), 'rb') as f2: - 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() actual_status = get_short_git_status()['img.jpg'] assert status == actual_status