-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
type: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity
Description
The latest (4.5.0) pytest release raises a warning when non-registered markers are discovered in the discovery phase. That can be fixed by registering the markers in the pytest.ini file as long as that file is present and findable, however, that is not the case when testing NumPy installed from wheels or using setup.py, as the tests are run from the imported NumPy module. What would be helpful is if there were a way to register the marks from the pytest command line or possibly during the discovery phase. There may already be such a method, but I am unable to find it in the documentation.
- a detailed description of the bug or suggestion
- output of
pip listfrom the virtual environment you are using - pytest and operating system versions
- minimal example if possible
Metadata
Metadata
Assignees
Labels
type: questiongeneral question, might be closed after 2 weeks of inactivitygeneral question, might be closed after 2 weeks of inactivity