-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
Generate an error when a mark is applied to a fixture #3664
Copy link
Copy link
Closed
Labels
topic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectlytopic: marksrelated to marks, either the general marks or builtinrelated to marks, either the general marks or builtintype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Metadata
Metadata
Assignees
Labels
topic: fixturesanything involving fixtures directly or indirectlyanything involving fixtures directly or indirectlytopic: marksrelated to marks, either the general marks or builtinrelated to marks, either the general marks or builtintype: enhancementnew feature or API change, should be merged into features branchnew feature or API change, should be merged into features branch
Follow up from #1014.
We should generate an error if a
@pytest.markis applied to a fixture.There is a warning in
doc/en/fixture.rstabout this problem which should be updated once this issue is dealt with.