Skip to content
Sections
>> Trisquel >> Pakiety >> nabia >> python >> python3-pytest-timeout
etiona  ] [  nabia  ] [  aramo  ]
[ Pakiet źródłowy: python-pytest-timeout  ]

Pakiet: python3-pytest-timeout (1.3.3-2)

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.

Inne pakiety związane z python3-pytest-timeout

  • wymaga
  • poleca
  • sugeruje
  • dep: python3
    interactive high-level object-oriented language (default python3 version)
  • dep: python3-pytest
    Simple, powerful testing in Python3

Pobieranie python3-pytest-timeout

Pobierz dla wszystkich dostępnych architektur
Architektura Rozmiar pakietu Rozmiar po instalacji Pliki
all 14,9 KiB49 KiB [lista plików]