From bfb804ed317bbbd1e0089c80c1b1d3510185bca6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 11 Dec 2023 09:29:45 +0100 Subject: Adding upstream version 3.6.0. Signed-off-by: Daniel Baumann --- tests/store_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/store_test.py') diff --git a/tests/store_test.py b/tests/store_test.py index eaab940..45ec732 100644 --- a/tests/store_test.py +++ b/tests/store_test.py @@ -185,7 +185,7 @@ def test_db_repo_name(store): def test_local_resources_reflects_reality(): on_disk = { - res[len('empty_template_'):] + res.removeprefix('empty_template_') for res in os.listdir('pre_commit/resources') if res.startswith('empty_template_') } -- cgit v1.2.3