mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2025-02-25 18:55:22 -06:00
Change pytest settings
- Use the 'prepend' import mode - Show all test statuses, save passed tests - Set log level to INFO
This commit is contained in:
parent
5073c29637
commit
134703192d
@ -198,7 +198,8 @@ disallow_any_generics = false
|
|||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
minversion = 6.0
|
minversion = 6.0
|
||||||
addopts = [
|
addopts = [
|
||||||
"--import-mode=importlib",
|
"-ra",
|
||||||
|
"--import-mode=prepend",
|
||||||
# "--pythonwarnings=error",
|
# "--pythonwarnings=error",
|
||||||
"--strict-config",
|
"--strict-config",
|
||||||
"--strict-markers",
|
"--strict-markers",
|
||||||
@ -210,6 +211,7 @@ filterwarnings = [
|
|||||||
"ignore::DeprecationWarning:pyximport.pyximport",
|
"ignore::DeprecationWarning:pyximport.pyximport",
|
||||||
"ignore::ImportWarning:importlib._bootstrap",
|
"ignore::ImportWarning:importlib._bootstrap",
|
||||||
]
|
]
|
||||||
|
log_cli_level = "INFO"
|
||||||
markers = [
|
markers = [
|
||||||
"apidoc",
|
"apidoc",
|
||||||
]
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user