From 435e5e8ac56d933b032d77f8c6ce290d1c2501af Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Mon, 7 Aug 2017 20:21:40 -0300 Subject: [PATCH] Fix serialization report tests No idea why using "-n1" on one of the those tests makes the second test to fail. See pytest-dev/pytest-xdist#202 for a full description. --- testing/test_remote.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/test_remote.py b/testing/test_remote.py index 09a082c..553b61c 100644 --- a/testing/test_remote.py +++ b/testing/test_remote.py @@ -118,7 +118,7 @@ class TestReportSerialization: def test_repr_entry(): x = 0 assert x - """, '--showlocals', '-n1') + """, '--showlocals') reports = reprec.getreports("pytest_runtest_logreport") assert len(reports) == 3 rep = reports[1] @@ -143,7 +143,7 @@ class TestReportSerialization: def test_repr_entry_native(): x = 0 assert x - """, '--tb=native', '-n1') + """, '--tb=native') reports = reprec.getreports("pytest_runtest_logreport") assert len(reports) == 3 rep = reports[1]