summaryrefslogtreecommitdiffstats
path: root/tests/store_test.py
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-11 08:29:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2023-12-11 08:29:48 +0000
commitb73378b6cdae53383ce4549f0f301ece440b2969 (patch)
tree94678c0984baae45fd0358db8309e9190b3fe362 /tests/store_test.py
parentReleasing debian version 3.5.0-1. (diff)
downloadpre-commit-b73378b6cdae53383ce4549f0f301ece440b2969.tar.xz
pre-commit-b73378b6cdae53383ce4549f0f301ece440b2969.zip
Merging upstream version 3.6.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'tests/store_test.py')
-rw-r--r--tests/store_test.py2
1 files changed, 1 insertions, 1 deletions
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_')
}