Skip to content

Commit eef853b

Browse files
committed
Prevent errors with deprecation warnings in tests
1 parent 000b196 commit eef853b

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

setuptools/tests/test_bdist_wheel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@
8989
long_description="Another testing distribution \N{SNOWMAN}",
9090
author="Illustrious Author",
9191
author_email="[email protected]",
92-
url="http://example.org/exemplary",
92+
project_urls={"homepage": "http://example.org/exemplary"},
9393
packages=["complexdist"],
9494
setup_requires=["setuptools"],
9595
install_requires=["quux", "splort"],

setuptools/tests/test_core_metadata.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,11 @@ def __read_test_cases():
9292
],
9393
),
9494
),
95-
(
95+
pytest.param(
9696
'Metadata version 1.1: Download URL',
97-
params(
98-
download_url='https://example.com',
97+
params(download_url='https://example.com'),
98+
marks=pytest.mark.filterwarnings(
99+
"ignore:Deprecated usage of .download_url"
99100
),
100101
),
101102
(

0 commit comments

Comments
 (0)