Matej Cepl
d36863e4c0
- Use email.message instead of cgi as cgi has been deprecated - Remove upstreamed patch license_files.patch - Add skip-unsupported-Metadata-Version-test.patch (gh#pypa/twine#1071) to skip failing test case. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-twine?expand=0&rev=38
24 lines
794 B
Diff
24 lines
794 B
Diff
---
|
|
tests/test_package.py | 10 +++++-----
|
|
1 file changed, 5 insertions(+), 5 deletions(-)
|
|
|
|
--- a/tests/test_package.py
|
|
+++ b/tests/test_package.py
|
|
@@ -339,11 +339,11 @@ def test_fips_metadata_excludes_md5_and_
|
|
@pytest.mark.parametrize(
|
|
"read_data, missing_fields",
|
|
[
|
|
- pytest.param(
|
|
- b"Metadata-Version: 2.3\nName: test-package\nVersion: 1.0.0\n",
|
|
- "Name, Version",
|
|
- id="unsupported Metadata-Version",
|
|
- ),
|
|
+# pytest.param(
|
|
+# b"Metadata-Version: 2.3\nName: test-package\nVersion: 1.0.0\n",
|
|
+# "Name, Version",
|
|
+# id="unsupported Metadata-Version",
|
|
+# ),
|
|
pytest.param(
|
|
b"Metadata-Version: 2.2\nName: UNKNOWN\nVersion: UNKNOWN\n",
|
|
"Name, Version",
|