add type annotations
This commit is contained in:
parent
ff12e083c5
commit
4821a41967
|
@ -1,7 +1,9 @@
|
||||||
import sys
|
import sys
|
||||||
import textwrap
|
import textwrap
|
||||||
|
from pathlib import Path
|
||||||
|
|
||||||
import pytest
|
import pytest
|
||||||
|
from _pytest.monkeypatch import MonkeyPatch
|
||||||
from _pytest.pytester import Pytester
|
from _pytest.pytester import Pytester
|
||||||
from _pytest.runner import runtestprotocol
|
from _pytest.runner import runtestprotocol
|
||||||
from _pytest.skipping import evaluate_skip_marks
|
from _pytest.skipping import evaluate_skip_marks
|
||||||
|
@ -1437,7 +1439,7 @@ def test_importorskip_module_not_found() -> None:
|
||||||
|
|
||||||
|
|
||||||
def test_importorskip_module_not_found_raises_on_import_error(
|
def test_importorskip_module_not_found_raises_on_import_error(
|
||||||
monkeypatch, tmp_path
|
monkeypatch: MonkeyPatch, tmp_path: Path
|
||||||
) -> None:
|
) -> None:
|
||||||
on_path = tmp_path / "on_path"
|
on_path = tmp_path / "on_path"
|
||||||
on_path.mkdir()
|
on_path.mkdir()
|
||||||
|
|
Loading…
Reference in New Issue