Skip to content

Commit 5eb9858

Browse files
committed
fixup! Revisit PytesterManageEnv
1 parent abfb50b commit 5eb9858

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/_pytest/pytester/__init__.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,9 @@
5555
from _pytest.reports import TestReport
5656
from _pytest.tmpdir import TempdirFactory
5757

58-
5958
if TYPE_CHECKING:
6059
from typing import Any
6160
from typing import Type
62-
from typing_extensions import Literal # noqa: F401
6361

6462
import pexpect
6563

@@ -903,6 +901,7 @@ def copy_example(self, name=None):
903901
904902
"""
905903
import warnings
904+
906905
from _pytest.warning_types import PYTESTER_COPY_EXAMPLE
907906

908907
warnings.warn(PYTESTER_COPY_EXAMPLE, stacklevel=2)

0 commit comments

Comments
 (0)