Skip to content

How to import custom pytestmark? (analogy with pytest_plugins) #10188

Answered by nicoddemus
vamotest asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,

Importing the mark like you did is the way to go. Most IDEs have a mechanism to make it not consider the import unused, usually by adding a comment to it.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@vamotest
Comment options

@nicoddemus
Comment options

@vamotest
Comment options

Answer selected by nicoddemus
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants