Skip to content

Commit 7bea6c7

Browse files
committed
fixup! typing for diff
1 parent b42b182 commit 7bea6c7

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/_pytest/python.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,13 @@
1212
from collections.abc import Sequence
1313
from functools import partial
1414
from types import ModuleType
15+
from typing import Any
1516
from typing import Callable
1617
from typing import Dict
1718
from typing import Iterable
1819
from typing import List
1920
from typing import Optional
21+
from typing import Mapping
2022
from typing import Tuple
2123
from typing import Union
2224

@@ -1445,7 +1447,7 @@ def __init__(
14451447
config=None,
14461448
callspec: Optional[CallSpec2] = None,
14471449
callobj=NOTSET,
1448-
keywords: Optional[Iterable[str]] = None,
1450+
keywords: Optional[Mapping[str, Any]] = None,
14491451
session=None,
14501452
fixtureinfo: Optional[FuncFixtureInfo] = None,
14511453
originalname=None,

0 commit comments

Comments
 (0)