Skip to content

Commit

Permalink
Fix issue with pytest>=3.3.0
Browse files Browse the repository at this point in the history
In pytest 3.3.0 default logging capture handlers are added to the
logging configuraton.

This interferes with our own logging capture fixtures. In the long term
we should look at changing our tests to use the pytest built in
capabilities, but for now we can disable the new features with this
patch.
  • Loading branch information
lfdebrux committed Sep 21, 2018
1 parent 626156a commit 27da05f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
[pytest]
addopts = -p no:logging
testpaths = tests

0 comments on commit 27da05f

Please sign in to comment.