Skip to content

Commit 5ee1a56

Browse files
author
Rory Yorke
committed
Move pytest marker config to pyproject.toml
1 parent eb2b492 commit 5ee1a56

2 files changed

Lines changed: 6 additions & 5 deletions

File tree

pyproject.toml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,15 @@ source = "https://github.com/python-control/python-control"
5151
write_to = "control/_version.py"
5252

5353
[tool.pytest.ini_options]
54-
addopts = "-ra"
54+
addopts = "-ra --strict-markers"
5555
filterwarnings = [
5656
"error:.*matrix subclass:PendingDeprecationWarning",
5757
]
58+
markers = [
59+
"slycot: tests needing slycot",
60+
"cvxopt: tests needing cvxopt",
61+
]
62+
5863

5964
[tool.ruff]
6065

pytest.ini

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)