Skip to content

Commit 1435534

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 5b99c3c commit 1435534

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

testing/test_argparsing_repr_fix.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
"""Test case for issue #13817: AttributeError with invalid flag in pytest_addoption."""
2+
23
from __future__ import annotations
34

45
from _pytest.config.argparsing import ArgumentError
5-
from _pytest.config.argparsing import NOT_SET
66
from _pytest.config.argparsing import Parser
77
import pytest
88

@@ -76,4 +76,4 @@ def test_repr_without_dest(self) -> None:
7676
# The repr was called during error creation
7777
# Verify it contains NOT_SET representation
7878
assert "dest:" in str(exc)
79-
assert "NOT_SET" in str(exc) or "<notset>" in str(exc)
79+
assert "NOT_SET" in str(exc) or "<notset>" in str(exc)

0 commit comments

Comments
 (0)