Projects
Mega:24.03
pyproject-api
_service:tar_scm:0002-Fix-test-result-format-co...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm:0002-Fix-test-result-format-compatible.patch of Package pyproject-api
From cfac1a98a6c931cfc9901b783ea03a4ffbe40340 Mon Sep 17 00:00:00 2001 From: desert-sailor <dongxing.wang_a@thundersoft.com> Date: Mon, 8 Apr 2024 15:04:49 +0800 Subject: [PATCH] Fix test result format compatible --- tests/test_frontend_setuptools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_frontend_setuptools.py b/tests/test_frontend_setuptools.py index ab6b3dc..7ed6817 100644 --- a/tests/test_frontend_setuptools.py +++ b/tests/test_frontend_setuptools.py @@ -76,7 +76,7 @@ def test_setuptools_prepare_metadata_for_build_wheel(frontend_setuptools: Subpro assert dist.metadata["Name"] == "demo" values = [v for k, v in dist.metadata.items() if k == "Requires-Dist"] # type: ignore[attr-defined] # ignore because "PackageMetadata" has no attribute "items" - assert sorted(values) == ["magic >3", "requests >2"] + assert sorted(values) in [["magic >3", "requests >2"], ["magic (>3)", "requests (>2)"]] assert isinstance(result.out, str) assert isinstance(result.err, str) -- 2.43.0
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.
浙ICP备2022010568号-2