Skip to content

Commit 67b5093

Browse files
authored
Fix pytest warnings (#7928)
* Use `--strict-markers` instead of `--strict`, as per this warning: ``` /.../_pytest/config/__init__.py:1183: PytestDeprecationWarning: The --strict option is deprecated, use --strict-markers instead. ``` * Remove config option 'testspath' - pytest is logging a warning about this being unknown: ``` /.../_pytest/config/__init__.py:1233: PytestConfigWarning: Unknown config option: testspath ``` I can't find any reference to it in the pytest docs or changelog.
1 parent a0a2c5c commit 67b5093

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

setup.cfg

+1-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
license_file = LICENSE.md
33

44
[tool:pytest]
5-
addopts=--tb=short --strict -ra
6-
testspath = tests
5+
addopts=--tb=short --strict-markers -ra
76

87
[flake8]
98
ignore = E501,W504

0 commit comments

Comments
 (0)