Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
A getattr on the function doesn't work since pytest 4. Looks the correct way to do this is to test the presence of "pytestmark" attribute on the function which is either undefined or contains a list of Marker objects. We don't care about backward compat with older pytest versions for testinfra own tests.
- Loading branch information
Showing
1 changed file
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters