Skip to content

Commit

Permalink
setup pytest-timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
m-vdb committed Sep 8, 2020
1 parent 977516e commit 505693a
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 1 deletion.
17 changes: 16 additions & 1 deletion poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ towncrier = "^19.2.0"
toml = "^0.10.0"
pep440-version-utils = "^0.3.0"
pydoc-markdown = "^3.5.0"
pytest-timeout = "^1.4.2"

[tool.poetry.extras]
spacy = [ "spacy",]
Expand Down
2 changes: 2 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[pytest]
markers =
skip_on_windows: mark a test as a test that shouldn't be executed on Windows.
# see https://pypi.org/project/pytest-timeout/
timeout = 60

0 comments on commit 505693a

Please sign in to comment.