1[pytest] 2addopts = 3 # `pytest-xdist`: 4 --numprocesses=auto 5 6 # show 10 slowest invocations: 7 --durations=10 8 9 # a bit of verbosity doesn't hurt: 10 -v 11 12 # report all the things == -rxXs: 13 -ra 14 15 # show values of the local vars in errors: 16 --showlocals 17 18 # autocollect and invoke the doctests from all modules: 19 --doctest-modules 20 21 # dump the test results in junit format: 22 --junitxml=junit-test-results.xml 23 24 # `pytest-cov`: 25 --cov=cheroot 26 --cov-report term-missing:skip-covered 27 --cov-report xml 28 # --cov-report xml:.test-results/pytest/cov.xml # alternatively move it here 29 30 # pre-load an in-tree plugin 31 -p cheroot.test._pytest_plugin 32doctest_optionflags = ALLOW_UNICODE ELLIPSIS 33filterwarnings = 34 error 35 36 # cryptography==3.0 warning: 37 # `cryptography.utils.CryptographyDeprecationWarning` happens but we 38 # cannot import it because of the chicken-egg nature of its 39 # declaration. So we're forced to use its superclass that is in 40 # fact, not a `DeprecationWarning` but a `UserWarning`. 41 # Ref: https://github.com/pyca/cryptography/issues/5335 42 ignore:Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.:UserWarning:cryptography 43 ignore:Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.:UserWarning:OpenSSL.crypto 44 # cryptography==3.1 warning: 45 ignore:Python 3.5 support will be dropped in the next release ofcryptography. Please upgrade your Python.:UserWarning:cryptography 46 ignore:Python 3.5 support will be dropped in the next release ofcryptography. Please upgrade your Python.:UserWarning:OpenSSL.crypto 47 # cryptography==3.2 warning (with fixed spelling): 48 ignore:Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python.:UserWarning:cryptography 49 ignore:Python 3.5 support will be dropped in the next release of cryptography. Please upgrade your Python.:UserWarning:OpenSSL.crypto 50 # cryptography==3.2.1 warning: 51 ignore:OpenSSL version 1.0.2 is no longer supported by the OpenSSL project, please upgrade. The next version of cryptography will completely remove support for it.:UserWarning:cryptography 52 ignore:OpenSSL version 1.0.2 is no longer supported by the OpenSSL project, please upgrade. The next version of cryptography will completely remove support for it.:UserWarning:OpenSSL.crypto 53 # cryptography=3.3.1 warning: 54 ignore:Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.:UserWarning:cryptography 55 ignore:Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in the next release.:UserWarning:OpenSSL.crypto 56 57 # FIXME: drop once setuptools/six fix their importer implementations 58 # Ref: https://github.com/pypa/setuptools/issues/2481 59 ignore:VendorImporter.exec_module.. not found; falling back to load_module..:ImportWarning 60 ignore:_SixMetaPathImporter.exec_module.. not found; falling back to load_module..:ImportWarning 61junit_duration_report = call 62junit_family = xunit2 63junit_suite_name = cheroot_test_suite 64minversion = 4.6.6 65norecursedirs = 66 build 67 cheroot.egg-info 68 dist 69 docs 70 .cache 71 .eggs 72 .git 73 .github 74 .tox 75testpaths = cheroot/test/ 76xfail_strict = true 77