Skip to content

Commit

Permalink
tests: disable faulthandler to suppress jpype errors on windows
Browse files Browse the repository at this point in the history
The pytest>=5 output is spammed with errors when testing code
using jpype. These errors can be ignored.

todo: disable faulthandler only on windows?

See: jpype-project/jpype#561
  • Loading branch information
ap-- committed Jul 30, 2020
1 parent e45ad36 commit a5b5cb6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,5 @@
[pytest]
addopts = -v
addopts =
-v
# (only needed by windows) disable faulthandler plugin to suppress non-fatal error msgs
-p no:faulthandler

0 comments on commit a5b5cb6

Please sign in to comment.