extra space in INI markers section causes inconsistent behavior #2856
Comments
Why do you consider this a backward compatibility issue @RonnyPfannschmidt ? I find it hard to believe somebody actually depends on that behavior... |
@nicoddemus yes - but we are bascially going to change a parser and the fix may break other working code ^^ |
OK I see what you mean. So this probably belongs in the |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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: