全部搜索项
buster  ]
[ 源代码: python-pytest-timeout  ]

软件包:python-pytest-timeout(1.3.3-1)

python-pytest-timeout 的相关链接

Screenshot

Debian 的资源:

下载源码包 python-pytest-timeout

维护小组:

外部的资源:

相似软件包:

Pytest plugin to abort hanging tests - Python 2.X

This is a plugin which will terminate tests after a certain timeout. When doing so it will show a stack dump of all threads running at the time. This is useful when running tests under a continuous integration server or simply if you don’t know why the test suite hangs.

Note that while by default on POSIX systems py.test will continue to execute the tests after a test has timed, out this is not always possible. Often the only sure way to interrupt a hanging test is by terminating the entire process. As this is a hard termination (os._exit()) it will result in no teardown, JUnit XML output etc. But the plugin will ensure you will have the debugging output on stderr nevertheless, which is the most important part at this stage. See below for detailed information on the timeout methods and their side-effects.

The pytest-timeout plugin has been tested on Python 2.6 or higher, including 3.X and pypy.

This package provides support for Python 2.X.

其他与 python-pytest-timeout 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 python-pytest-timeout

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 14.6 kB48.0 kB [文件列表]