[PATCH seda] [pkg] Tells pytest to not capture stderr

Sylvain Thenault sylvain.thenault at logilab.fr
Mon Dec 11 16:50:32 CET 2017


# HG changeset patch
# User Sylvain Thénault <sylvain.thenault at logilab.fr>
# Date 1512571108 -3600
#      Wed Dec 06 15:38:28 2017 +0100
# Node ID 0e0424b9c9d33b863ada5984b9b67e63178aaa11
# Parent  ad663bcecf88c01f4f7e11876bb98982d41fdbd1
[pkg] Tells pytest to not capture stderr

this is required with recent pytest to avoid cluttered output with duplicated
cubicweb's logging message (there must have something to fix on the cubicweb
side to avoid this).

diff --git a/tox.ini b/tox.ini
--- a/tox.ini
+++ b/tox.ini
@@ -11,11 +11,11 @@ deps =
   -rdev-requirements.txt
 commands = {envpython} -m pytest {posargs:{toxinidir}/test}
 
 [pytest]
 python_files = *test_*.py
-
+log_capture = false
 
 [testenv:check-manifest]
 skip_install = true
 deps =
   check-manifest


More information about the saem-devel mailing list