extra space in INI markers section causes inconsistent behavior #2856
Labels
good first issue
easy issue that is friendly to new contributor
type: backward compatibility
might present some backward compatibility issues which should be carefully noted in the changelog
type: bug
problem that needs to be addressed
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.
pytest.ini example:
NOTE: There's an extra space between dev and the colon.
pytest --markers lists:
pytest -m dev generates:
Version info:
Python 3.4.3 running on Windows 10.0.14393
pytest version 3.2.3
The text was updated successfully, but these errors were encountered: