Running tests by keywords throws exception when a method contains a number def test_2columns()
#2896
Labels
topic: marks
related to marks, either the general marks or builtin
type: backward compatibility
might present some backward compatibility issues which should be carefully noted in the changelog
type: question
general question, might be closed after 2 weeks of inactivity
Pytest throws
INTERNALERROR> SyntaxError: invalid syntax
when running multiple selected tests via keywords separated withor
when method substrings start with a number: e.g.pytest -k "2columns or 3columns"
Example:
Running the above code with:
pytest -k "2columns or 3columns" multiple_or_keywords.py
results in the stacktrace below:
The text was updated successfully, but these errors were encountered: