Closed
Description
Since we're using a custom pytest.marks.task(taskno)
for our Concept exercise tests, we need to have a way for CLI users to register them. Otherwise, PyTest complains for every test locally (see issue #2536).
The most expedient way to do this is to provide a pytest.ini
file as part of the python exercise directory.
If we'd rather not do it in the main exercism/python
folder, we could add it into exercism/python/exercise
or exercism/python/exercises/concept
.
Additionally, we should update the documentation to show users how to register or ignore the marks themselves.
The ini file should include:
[pytest]
markers =
task: A concept exercise task.