From 164869079fe68c3a29b6e8bcd4dcce143be12cd1 Mon Sep 17 00:00:00 2001 From: Ee Durbin Date: Fri, 8 Nov 2024 07:43:45 -0500 Subject: [PATCH] fix tests to handle new !r formatting in packaging ref: https://github.com/pypa/packaging/pull/844 ref: https://github.com/pypa/packaging/pull/848 --- tests/unit/forklift/test_legacy.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/unit/forklift/test_legacy.py b/tests/unit/forklift/test_legacy.py index 38b91c21b966..e988fb0f666f 100644 --- a/tests/unit/forklift/test_legacy.py +++ b/tests/unit/forklift/test_legacy.py @@ -3043,7 +3043,7 @@ def storage_service_store(path, file_path, *, meta): [ ( "foo-1.0.whl", - "400 Invalid wheel filename (wrong number of parts): foo-1.0", + "400 Invalid wheel filename (wrong number of parts): 'foo-1.0'", ), ( "foo-1.0-q-py3-none-any.whl", @@ -3052,7 +3052,7 @@ def storage_service_store(path, file_path, *, meta): ( "foo-0.0.4test1-py3-none-any.whl", "400 Invalid wheel filename (invalid version): " - "foo-0.0.4test1-py3-none-any", + "'foo-0.0.4test1-py3-none-any'", ), ( "something.tar.gz",