Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

silence a deprecation warning in tests #2776

Copy link
Copy link
@jku

Description

@jku
Issue body actions

After #2762 we get a deprecation warning in tests:

/home/runner/work/python-tuf/python-tuf/.tox/py/lib/python3.13/site-packages/urllib3/_request_methods.py:182: DeprecationWarning: URLs without a scheme (ie 'https://') are deprecated and will raise an error in a future version of urllib3. To avoid this DeprecationWarning ensure all URLs start with 'https://' or 'http://'. Read more in this issue: urllib3/urllib3#2920

According to NicholasTanz tests in the code base were intentionally using no scheme/host to trigger error handling logic. Let's silence the warning somehow -- or possibly remove the schemeless test?

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.