-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Open
Labels
bug 🐛on hold ✋🏽Action should stop on this issue or PR for now.Action should stop on this issue or PR for now.smolder🍲Lower-priority and/or future ideaLower-priority and/or future idea
Description
When running the test suites for a Python exercise in a local environment, Pytest generates a set of warnings because each of the tests is annotated (decorated) with @pytest.mark.task
. Because task
isn't registered, the Pytest output includes lines such as
dicts_test.py:50
/Users/xyz/Exercism/python/inventory-management/dicts_test.py:50: PytestUnknownMarkWarning: Unknown pytest.mark.task - is this a typo? You can register custom marks to avoid this warning - for details, see https://docs.pytest.org/en/stable/mark.html
@pytest.mark.task(taskno=4)
This output is noisy and of little value to the developer.
Would it be reasonable to add a pytest.ini
or pyproject.toml
file as described in the link above to each of the exercises?
Metadata
Metadata
Assignees
Labels
bug 🐛on hold ✋🏽Action should stop on this issue or PR for now.Action should stop on this issue or PR for now.smolder🍲Lower-priority and/or future ideaLower-priority and/or future idea