From 9cabd4828c94fff0e612af0dfc22e52c0b3f39f2 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Mon, 10 Aug 2015 06:54:11 +0200 Subject: [PATCH] Skip test_guiprocess:test_error on Windows. Waiting for a new pytest-qt release which will probably fix this. --- tests/misc/test_guiprocess.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/misc/test_guiprocess.py b/tests/misc/test_guiprocess.py index b2afb6685..cd3d69af0 100644 --- a/tests/misc/test_guiprocess.py +++ b/tests/misc/test_guiprocess.py @@ -120,6 +120,8 @@ def test_cmd_args(fake_proc): assert (fake_proc.cmd, fake_proc.args) == (cmd, args) +# WORKAROUND for https://github.com/pytest-dev/pytest-qt/issues/67 +@pytest.mark.skipif(os.name == 'nt', reason="Test is flaky on Windows...") def test_error(qtbot, proc, caplog): """Test the process emitting an error.""" with caplog.atLevel(logging.ERROR, 'message'):