Skip to content

Commit 3ebd5b3

Browse files
committed
Fix runtime
1 parent 0bddeae commit 3ebd5b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pytest_bdd/scenario.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
import collections
1616
import os
1717
import re
18-
import typing
18+
from typing import TYPE_CHECKING, Callable, cast
1919

2020
import pytest
2121
from _pytest.fixtures import FixtureLookupError, FixtureManager, FixtureRequest, call_fixture_func
@@ -25,8 +25,8 @@
2525
from .steps import get_step_fixture_name, inject_fixture
2626
from .utils import CONFIG_STACK, get_args, get_caller_module_locals, get_caller_module_path
2727

28-
if typing.TYPE_CHECKING:
29-
from typing import Any, Callable, Iterable, cast
28+
if TYPE_CHECKING:
29+
from typing import Any, Iterable
3030

3131
from _pytest.mark.structures import ParameterSet
3232

0 commit comments

Comments
 (0)