From 87ad5e8ac268e2a71349dfff4fab8aae0dc8834d Mon Sep 17 00:00:00 2001 From: Like Ma Date: Tue, 23 Jan 2024 02:53:29 +0800 Subject: [PATCH] Fix Python 3.6 string interpolation --- tests/test-lz4-list.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test-lz4-list.py b/tests/test-lz4-list.py index 3b227bdd..0302ffdf 100644 --- a/tests/test-lz4-list.py +++ b/tests/test-lz4-list.py @@ -140,7 +140,7 @@ class TestVerbose(unittest.TestCase): def test_filename(self): for i, vinfo in enumerate(self.vinfo_list): - self.assertRegex(vinfo.filename, f"^test_list_.*({i + 1}/{len(self.vinfo_list)})".format(i + 1, len(self.vinfo_list))) + self.assertRegex(vinfo.filename, f"^test_list_.*({i + 1}/{len(self.vinfo_list)})") def test_frame_number(self): for vinfo in self.vinfo_list: