Skip to content

Commit 87f5942

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 163866c commit 87f5942

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

testing/test_argparsing_repr_fix.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
"""
22
Test case for issue #13817: AttributeError with invalid flag in pytest_addoption
33
"""
4-
from __future__ import annotations
54

6-
import pytest
5+
from __future__ import annotations
76

87
from _pytest.config.argparsing import ArgumentError
98
from _pytest.config.argparsing import Parser
9+
import pytest
1010

1111

1212
# Suppress warning about using private pytest API (we're testing pytest itself)
@@ -51,4 +51,4 @@ def test_valid_option_works(self) -> None:
5151

5252
options = parser._anonymous.options
5353
assert len(options) > 0
54-
assert "--shuffle" in options[0].names()
54+
assert "--shuffle" in options[0].names()

0 commit comments

Comments
 (0)