python-twine/skip-unsupported-Metadata-Version-test.patch

21 lines
751 B
Diff
Raw Permalink Normal View History

---
tests/test_package.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
Index: twine-5.1.0/tests/test_package.py
===================================================================
--- twine-5.1.0.orig/tests/test_package.py
+++ twine-5.1.0/tests/test_package.py
@@ -384,11 +384,6 @@ def test_fips_metadata_excludes_md5_and_
"read_data, missing_fields",
[
pytest.param(
- b"Metadata-Version: 102.3\nName: test-package\nVersion: 1.0.0\n",
- "Name, Version",
- id="unsupported Metadata-Version",
- ),
- pytest.param(
b"Metadata-Version: 2.3\nName: UNKNOWN\nVersion: UNKNOWN\n",
"Name, Version",
id="missing Name and Version",