Skip to content

Commit

Permalink
Prevent errors with deprecation warnings in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
abravalheri committed Jan 20, 2025
1 parent 000b196 commit eef853b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setuptools/tests/test_bdist_wheel.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
long_description="Another testing distribution \N{SNOWMAN}",
author="Illustrious Author",
author_email="[email protected]",
url="http://example.org/exemplary",
project_urls={"homepage": "http://example.org/exemplary"},
packages=["complexdist"],
setup_requires=["setuptools"],
install_requires=["quux", "splort"],
Expand Down
7 changes: 4 additions & 3 deletions setuptools/tests/test_core_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,10 +92,11 @@ def __read_test_cases():
],
),
),
(
pytest.param(
'Metadata version 1.1: Download URL',
params(
download_url='https://example.com',
params(download_url='https://example.com'),
marks=pytest.mark.filterwarnings(
"ignore:Deprecated usage of .download_url"
),
),
(
Expand Down

0 comments on commit eef853b

Please sign in to comment.