Replies: 2 comments
-
This is not supported and its not a desirable feature in general as it painfully complicates details |
Beta Was this translation helpful? Give feedback.
0 replies
-
A quick fix is to move the tests that need the mark to a class, then apply a class-level mark instead. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using module level marks (
pytestmark
). But now, only one test cannot have this mark. Is there a way to "turn off" this module mark for a single test only (besides getting rid of the module mark and adopting individual marks)?For example:
Note that this specific mark is handled by the pytest-recording plugin, so I can't ignore the mark for
test_z
in another place (such as a fixture).Beta Was this translation helpful? Give feedback.
All reactions