Skip to content

Commit

Permalink
fixup! Revisit PytesterManageEnv
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed Jan 3, 2021
1 parent abfb50b commit 7041e72
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/_pytest/pytester/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,6 @@
from _pytest.config import ExitCode
from _pytest.fixtures import FixtureRequest
from _pytest.main import Session
from _pytest.monkeypatch import MonkeyPatch
from _pytest.nodes import Collector
from _pytest.nodes import Item
from _pytest.outcomes import Failed
Expand All @@ -55,14 +54,14 @@
from _pytest.reports import TestReport
from _pytest.tmpdir import TempdirFactory


if TYPE_CHECKING:
from typing import Any
from typing import Type
from typing_extensions import Literal # noqa: F401

import pexpect

from _pytest.monkeypatch import MonkeyPatch


IGNORE_PAM = [ # filenames added when obtaining details about the current user
"/var/lib/sss/mc/passwd"
Expand Down Expand Up @@ -903,6 +902,7 @@ def copy_example(self, name=None):
"""
import warnings

from _pytest.warning_types import PYTESTER_COPY_EXAMPLE

warnings.warn(PYTESTER_COPY_EXAMPLE, stacklevel=2)
Expand Down

0 comments on commit 7041e72

Please sign in to comment.