From 01299421ee9141b9e1ab39af9503fe18e35d351b Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 2 Oct 2021 11:07:34 +0530 Subject: [PATCH] Fix typo causing test to fail --- kitty_tests/file_transmission.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kitty_tests/file_transmission.py b/kitty_tests/file_transmission.py index 9aded2f66..884a20709 100644 --- a/kitty_tests/file_transmission.py +++ b/kitty_tests/file_transmission.py @@ -93,8 +93,8 @@ class TestFileTransmission(BaseTest): c_path = os.path.join(self.tdir, 'c') def files_equal(a_path, c_path): - self.ae(os.path.getsize(a_path), os.path.getsize(b_path)) - with open(b_path, 'rb') as b, open(c_path, 'rb') as c: + self.ae(os.path.getsize(a_path), os.path.getsize(c_path)) + with open(c_path, 'rb') as b, open(c_path, 'rb') as c: self.ae(b.read(), c.read()) def patch(old_path, new_path, output_path, max_delta_len=0):