From 8e5014fc0f40bc5def4486f2df6ac693c87b010c Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Sun, 24 Jan 2016 01:02:14 +0100 Subject: [PATCH] tox: Update pytest to 2.8.7. - use predictable object resolution for monkeypatch - allow for double nodeids in junitxml, this was a regression failing plugins combinations like pytest-pep8 + pytest-flakes - Workaround for exception that occurs in pyreadline when using ``--pdb`` with standard I/O capture enabled. - Better error message in case the target of a ``monkeypatch`` call raises an ``ImportError``. - monkeypatch calls (setattr, setenv, etc.) are now O(1). - captured stdout and stderr are now properly displayed before entering pdb when ``--pdb`` is used instead of being thrown away. - pytest warnings emitted during ``pytest_terminal_summary`` are now properly displayed. - fixed internal UnicodeDecodeError when doctests contain unicode. - Add captured stdout to jUnit XML report on setup error. --- tox.ini | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tox.ini b/tox.ini index f31421a53..48ba91390 100644 --- a/tox.ini +++ b/tox.ini @@ -26,7 +26,7 @@ deps = parse==1.6.6 parse-type==0.3.4 py==1.4.31 - pytest==2.8.5 # rq.filter: != 2.8.6 + pytest==2.8.7 pytest-bdd==2.16.0 pytest-catchlog==1.2.2 pytest-cov==2.2.0