extra space in INI markers section causes inconsistent behavior #2856
In the markers section of the INI file, if you include an extra space between the marker and the colon, the pytest --markers command lists the marker, however the running pytest -m mymarker causes an "Attribute Error: 'mymarker' not a registered marker.
NOTE: There's an extra space between dev and the colon.
pytest --markers lists:
pytest -m dev generates:
The text was updated successfully, but these errors were encountered: