From cf691e85c89dbe16dce7e0a729649b2e19d4d9ad Mon Sep 17 00:00:00 2001 From: Anthony Sottile Date: Fri, 10 Aug 2018 12:39:40 -0700 Subject: [PATCH] that's what I get for not waiting for CI --- tests/staged_files_only_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/staged_files_only_test.py b/tests/staged_files_only_test.py index 9e1a0a4c..42f7ecae 100644 --- a/tests/staged_files_only_test.py +++ b/tests/staged_files_only_test.py @@ -145,7 +145,7 @@ 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 + 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']