We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b99c3c commit 1435534Copy full SHA for 1435534
testing/test_argparsing_repr_fix.py
@@ -1,8 +1,8 @@
1
"""Test case for issue #13817: AttributeError with invalid flag in pytest_addoption."""
2
+
3
from __future__ import annotations
4
5
from _pytest.config.argparsing import ArgumentError
-from _pytest.config.argparsing import NOT_SET
6
from _pytest.config.argparsing import Parser
7
import pytest
8
@@ -76,4 +76,4 @@ def test_repr_without_dest(self) -> None:
76
# The repr was called during error creation
77
# Verify it contains NOT_SET representation
78
assert "dest:" in str(exc)
79
- assert "NOT_SET" in str(exc) or "<notset>" in str(exc)
+ assert "NOT_SET" in str(exc) or "<notset>" in str(exc)
0 commit comments