parent
48b6d18834
commit
ad95d59d61
|
@ -1097,7 +1097,7 @@ def test_outcome_exception_bad_msg() -> None:
|
||||||
|
|
||||||
|
|
||||||
def test_pytest_version_env_var(pytester: Pytester, monkeypatch: MonkeyPatch) -> None:
|
def test_pytest_version_env_var(pytester: Pytester, monkeypatch: MonkeyPatch) -> None:
|
||||||
os.environ["PYTEST_VERSION"] = "old version"
|
monkeypatch.setenv("PYTEST_VERSION", "old version")
|
||||||
pytester.makepyfile(
|
pytester.makepyfile(
|
||||||
"""
|
"""
|
||||||
import pytest
|
import pytest
|
||||||
|
|
Loading…
Reference in New Issue