| 1 | Source: python-pytest-timeout |
| 2 | Section: python |
| 3 | Priority: optional |
| 4 | Maintainer: Debian Python Team <[email protected]> |
| 5 | Uploaders: Scott Talbert <[email protected]> |
| 6 | Build-Depends: debhelper-compat (= 13), |
| 7 | dh-python, |
| 8 | pybuild-plugin-pyproject, |
| 9 | python3-all, |
| 10 | python3-pexpect, |
| 11 | python3-pytest, |
| 12 | python3-pytest-cov, |
| 13 | python3-setuptools |
| 14 | Standards-Version: 4.7.2 |
| 15 | Homepage: https://github.com/pytest-dev/pytest-timeout |
| 16 | Vcs-Git: https://salsa.debian.org/python-team/packages/python-pytest-timeout.git |
| 17 | Vcs-Browser: https://salsa.debian.org/python-team/packages/python-pytest-timeout |
| 18 | |
| 19 | Package: python3-pytest-timeout |
| 20 | Architecture: all |
| 21 | Depends: python3-pytest, ${misc:Depends}, ${python3:Depends} |
| 22 | Suggests: ${python3:Recommends} |
| 23 | Description: Pytest plugin to abort hanging tests - Python 3.X |
| 24 | This is a plugin which will terminate tests after a certain timeout. |
| 25 | When doing so it will show a stack dump of all threads running at the |
| 26 | time. This is useful when running tests under a continuous integration |
| 27 | server or simply if you don’t know why the test suite hangs. |
| 28 | . |
| 29 | Note that while by default on POSIX systems pytest will continue to |
| 30 | execute the tests after a test has timed, out this is not always |
| 31 | possible. Often the only sure way to interrupt a hanging test is by |
| 32 | terminating the entire process. As this is a hard termination |
| 33 | (os._exit()) it will result in no teardown, JUnit XML output etc. But |
| 34 | the plugin will ensure you will have the debugging output on stderr |
| 35 | nevertheless, which is the most important part at this stage. See below |
| 36 | for detailed information on the timeout methods and their side-effects. |
| 37 | . |
| 38 | The pytest-timeout plugin has been tested on CPython and pypy. |
| 39 | . |
| 40 | This package provides support for Python 3.X. |