全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: python-pytest-timeout  ]

套件:python3-pytest-timeout(2.3.1-1)

python3-pytest-timeout 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 python-pytest-timeout

維護小組:

外部的資源:

相似套件:

Pytest plugin to abort hanging tests - Python 3.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 3.X.

其他與 python3-pytest-timeout 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-pytest-timeout

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 21。4 kB66。0 kB [檔案列表]