toil.conftest

Attributes

DOCTEST_TIMEOUT_SECONDS

Functions

pytest_collection_modifyitems(items)

Apply a timeout to all test items that extend _pytest.doctest.DoctestItem.

Module Contents

toil.conftest.DOCTEST_TIMEOUT_SECONDS = 20
toil.conftest.pytest_collection_modifyitems(items)[source]

Apply a timeout to all test items that extend _pytest.doctest.DoctestItem.

Parameters:

items (list[_pytest.nodes.Item])

Return type:

None