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 d027e5e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 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: 5 additions & 2 deletions setuptools/tests/test_core_metadata.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,11 @@ def __read_test_cases():
),
(
'Metadata version 1.1: Download URL',
params(
download_url='https://example.com',
pytest.param(
params(download_url='https://example.com'),
marks=pytest.mark.filterwarnings(
"ignore:Deprecated usage of .dowload_url"
),
),
),
(
Expand Down

0 comments on commit d027e5e

Please sign in to comment.