From 27da05fe4607404fa62743c1d16b6861be8381ba Mon Sep 17 00:00:00 2001 From: Laurence de Bruxelles Date: Tue, 18 Sep 2018 13:38:37 +0100 Subject: [PATCH] Fix issue with pytest>=3.3.0 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. --- pytest.ini | 1 + 1 file changed, 1 insertion(+) diff --git a/pytest.ini b/pytest.ini index 5ee64771..3cd5f236 100644 --- a/pytest.ini +++ b/pytest.ini @@ -1,2 +1,3 @@ [pytest] +addopts = -p no:logging testpaths = tests