Skip to content

Commit bf50ef0

Browse files
Apply suggestions from code review
Keep `deprecated` marker for tests
1 parent 62d6963 commit bf50ef0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pyproject.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ exclude_also = [
8888
]
8989

9090
[tool.pytest.ini_options]
91-
addopts = "-rP -m 'not slow and not benchmark'"
91+
addopts = "-rP -m 'not slow and not benchmark and not deprecated'"
9292
# ; --cov=bitsandbytes
9393
# ; # contexts: record which test ran which line; can be seen in html coverage report
9494
# ; --cov-context=test
@@ -98,6 +98,7 @@ log_cli_level = "INFO"
9898
log_file = "logs/pytest.log"
9999
markers = [
100100
"benchmark: mark test as a benchmark",
101+
"deprecated: mark test as covering a deprecated feature",
101102
"slow: mark test as slow",
102103
]
103104

0 commit comments

Comments
 (0)