From 356ed891066b51910cc29a75bbfc370b0eb44277 Mon Sep 17 00:00:00 2001 From: laggardkernel Date: Thu, 30 Sep 2021 15:17:26 +0800 Subject: [PATCH] Fix pytest unknown marker warning Declare custom markers in `pytest.ini` to avoid unknown marker warning. --- pytest.ini | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pytest.ini b/pytest.ini index ba7b7af..062ef23 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,3 +1,5 @@ [pytest] python_files = tests.py test_*.py *_tests.py *_test.py -addopts = --doctest-modules \ No newline at end of file +addopts = --doctest-modules +markers = + backwards: Run the tests for backward compatible support