We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e986272 commit 13d750dCopy full SHA for 13d750d
src/_pytest/python.py
@@ -1399,14 +1399,11 @@ def __init__(
1399
# https://github.com/pytest-dev/pytest/issues/4569
1400
1401
self.keywords.update(
1402
- dict.fromkeys(
1403
- [
1404
- mark.name
1405
- for mark in self.iter_markers()
1406
- if mark.name not in self.keywords
1407
- ],
1408
- True,
1409
- )
+ {
+ mark.name: True
+ for mark in self.iter_markers()
+ if mark.name not in self.keywords
+ }
1410
)
1411
1412
if fixtureinfo is None:
0 commit comments