diff options
author | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2021-01-17 02:51:53 +0100 |
---|---|---|
committer | Sviatoslav Sydorenko <wk@sydorenko.org.ua> | 2021-01-17 02:51:53 +0100 |
commit | 3bae7f06868553b006915f05ff14d86163f59a7d (patch) | |
tree | bee79f46aa023ba93a26bdab3fbf9f383ec8b1dd | |
parent | c524a0da73a85ec4dd4ae6b1512c25854b19c8de (diff) | |
download | cherrypy-git-3bae7f06868553b006915f05ff14d86163f59a7d.tar.gz |
Ignore pytest 6.2.0 resource warnings under py 3.8
Refs:
* #1897
* https://docs.pytest.org/en/stable/usage.html#unraisable
* https://github.com/pytest-dev/pytest/issues/5299
-rw-r--r-- | pytest.ini | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -33,6 +33,13 @@ addopts = doctest_optionflags = ALLOW_UNICODE ELLIPSIS filterwarnings = 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 + 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 |