forked from ilastik/ilastik
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add fixture to reset threadpool after experimental/api tests
any import from experimental will reset the threadpool to 0 in order to have all other tests run normally, we reset it after each test module for the experimental tests further reference: see ilastik#2517
- Loading branch information
Showing
3 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,14 @@ | ||
[pytest] | ||
qt_api=pyqt5 | ||
python_files = test*.py | ||
testpaths = tests | ||
testpaths = tests lazyflow | ||
markers = | ||
guitest: mark a test as a gui test | ||
|
||
addopts = | ||
--doctest-modules | ||
--doctest-ignore-import-errors | ||
--doctest-continue-on-failure | ||
--ignore=tests/test_ilastik/data | ||
--ignore=tests/test_ilastik/helpers | ||
--ignore=lazyflow/cancel_token.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters