Skip to content

Test suite failing with Ruff error #3961

@jaraco

Description

@jaraco

Test suite is failing in main with this error:

      raise RuffError(stdout.decode())

E pytest_ruff.RuffError: setuptools/tests/test_packageindex.py:37:31: F821 Undefined name v
E |
E 35 | assert url in str(v)
E 36 | else:
E 37 | assert isinstance(v, urllib.error.HTTPError)
E | ^ F821
E 38 |
E 39 | def test_bad_url_typo(self):
E |
E
E setuptools/tests/test_packageindex.py:54:31: F821 Undefined name v
E |
E 52 | assert url in str(v)
E 53 | else:
E 54 | assert isinstance(v, urllib.error.HTTPError)
E | ^ F821
E 55 |
E 56 | def test_bad_url_bad_status_line(self):
E |

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions