summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-02-01 19:10:27 +0100
committerSviatoslav Sydorenko <wk@sydorenko.org.ua>2022-02-01 19:10:27 +0100
commita2641534ffbcbc5ea61af1cb35f0f945ee705ccd (patch)
treebe27377ab6a34e809d159f7b4b1c55812ede561f
parent2c6b64086c6d62e454954ed7cb32b1fc08733cd4 (diff)
downloadcherrypy-git-a2641534ffbcbc5ea61af1cb35f0f945ee705ccd.tar.gz
Adopt two-space indents in `pytest.ini`
-rw-r--r--pytest.ini88
1 files changed, 44 insertions, 44 deletions
diff --git a/pytest.ini b/pytest.ini
index 89197092..ff5bc461 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -1,64 +1,64 @@
[pytest]
addopts =
- # `pytest-xdist`:
- #--numprocesses=auto
+ # `pytest-xdist`:
+ # --numprocesses=auto
- # `pytest-mon`:
- # useful for live testing with `pytest-watch` during development:
- #--testmon
+ # `pytest-mon`:
+ # useful for live testing with `pytest-watch` during development:
+ #--testmon
- # show 10 slowest invocations:
- --durations=10
+ # show 10 slowest invocations:
+ --durations=10
- # a bit of verbosity doesn't hurt:
- -v
+ # a bit of verbosity doesn't hurt:
+ -v
- # report all the things == -rxXs:
- -ra
+ # report all the things == -rxXs:
+ -ra
- # show values of the local vars in errors:
- --showlocals
+ # show values of the local vars in errors:
+ --showlocals
- # autocollect and invoke the doctests from all modules:
- --doctest-modules
+ # autocollect and invoke the doctests from all modules:
+ --doctest-modules
- # dump the test results in junit format:
- --junitxml=.test-results/pytest/results.xml
+ # dump the test results in junit format:
+ --junitxml=.test-results/pytest/results.xml
- # `pytest-cov`:
- --cov=cherrypy
- --cov-report term-missing:skip-covered
- --cov-report xml
- # --cov-report xml:.test-results/pytest/cov.xml # alternatively move it here
+ # `pytest-cov`:
+ --cov=cherrypy
+ --cov-report=term-missing:skip-covered
+ --cov-report=xml
+ # --cov-report xml:.test-results/pytest/cov.xml # alternatively move it here
doctest_optionflags = ALLOW_UNICODE ELLIPSIS
filterwarnings =
- error
+ error
- # pytest>=6.2.0 under Python 3.8:
- # Ref: https://docs.pytest.org/en/stable/usage.html#unraisable
- # Ref: https://github.com/pytest-dev/pytest/issues/5299
- ignore:Exception ignored in. <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>:pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception
- ignore:Exception ignored in. <_io.FileIO .closed.>:pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception
+ # pytest>=6.2.0 under Python 3.8:
+ # Ref: https://docs.pytest.org/en/stable/usage.html#unraisable
+ # Ref: https://github.com/pytest-dev/pytest/issues/5299
+ ignore:Exception ignored in. <socket.socket fd=-1, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=6>:pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception
+ ignore:Exception ignored in. <_io.FileIO .closed.>:pytest.PytestUnraisableExceptionWarning:_pytest.unraisableexception
- ignore:Use cheroot.test.webtest:DeprecationWarning
- ignore:This method will be removed in future versions.*:DeprecationWarning
- ignore:Unable to verify that the server is bound on:UserWarning
- ignore:Not importing directory .*.tox/py35/lib/python3.5/site-packages/(zc|repoze).* missing __init__:ImportWarning
- # ref: https://github.com/mhammond/pywin32/issues/1256#issuecomment-527972824 :
- ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:DeprecationWarning
- ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:PendingDeprecationWarning
+ ignore:Use cheroot.test.webtest:DeprecationWarning
+ ignore:This method will be removed in future versions.*:DeprecationWarning
+ ignore:Unable to verify that the server is bound on:UserWarning
+ ignore:Not importing directory .*.tox/py35/lib/python3.5/site-packages/(zc|repoze).* missing __init__:ImportWarning
+ # ref: https://github.com/mhammond/pywin32/issues/1256#issuecomment-527972824 :
+ ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:DeprecationWarning
+ ignore:the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses:PendingDeprecationWarning
junit_duration_report = call
junit_family = xunit2
junit_suite_name = cherrypy_test_suite
minversion = 5.3.5
norecursedirs =
- build
- cherrypy.egg-info
- dist
- docs
- .cache
- .eggs
- .git
- .github
- .tox
+ build
+ cherrypy.egg-info
+ dist
+ docs
+ .cache
+ .eggs
+ .git
+ .github
+ .tox
testpaths = cherrypy/test/