File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 44
44
from _pytest .config import ExitCode
45
45
from _pytest .fixtures import FixtureRequest
46
46
from _pytest .main import Session
47
- from _pytest .monkeypatch import MonkeyPatch
48
47
from _pytest .nodes import Collector
49
48
from _pytest .nodes import Item
50
49
from _pytest .outcomes import Failed
55
54
from _pytest .reports import TestReport
56
55
from _pytest .tmpdir import TempdirFactory
57
56
58
-
59
57
if TYPE_CHECKING :
60
58
from typing import Any
61
59
from typing import Type
62
- from typing_extensions import Literal # noqa: F401
63
60
64
61
import pexpect
65
62
63
+ from _pytest .monkeypatch import MonkeyPatch
64
+
66
65
67
66
IGNORE_PAM = [ # filenames added when obtaining details about the current user
68
67
"/var/lib/sss/mc/passwd"
@@ -903,6 +902,7 @@ def copy_example(self, name=None):
903
902
904
903
"""
905
904
import warnings
905
+
906
906
from _pytest .warning_types import PYTESTER_COPY_EXAMPLE
907
907
908
908
warnings .warn (PYTESTER_COPY_EXAMPLE , stacklevel = 2 )
You can’t perform that action at this time.
0 commit comments