Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions tests/unit/test_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@ def test_unsupported_platform(monkeypatch):
def test_help(monkeypatch, capsys):
# GIVEN
monkeypatch.setattr(sys, "argv", ["auditwheel"])
# handle running tests using 'python -m pytest' rather than just 'pytest' on Python 3.14+
monkeypatch.delattr(sys.modules.get("__main__"), "__spec__", raising=False)
Comment thread
auvipy marked this conversation as resolved.

# WHEN
retval = main()
Expand Down