From 8ffe591f98e97f07bcd7f13f133cc7b1c4fe6f3e Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Wed, 26 Aug 2015 09:38:54 +0200 Subject: [PATCH] Skip TestSave.test_long_output on Windows. This seems to segfault unpredictably when exiting pytest and I can't find out why. Fixes #895. --- tests/unit/misc/test_sessions.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/unit/misc/test_sessions.py b/tests/unit/misc/test_sessions.py index f9731324a..196569d4e 100644 --- a/tests/unit/misc/test_sessions.py +++ b/tests/unit/misc/test_sessions.py @@ -19,6 +19,7 @@ """Tests for qutebrowser.misc.sessions.""" +import os import textwrap import logging @@ -516,6 +517,9 @@ class TestSave: for i, data in enumerate(user_data): history.itemAt(i).setUserData(data) + @pytest.mark.skipif( + os.name == 'nt', reason="Test segfaults on Windows, see " + "https://github.com/The-Compiler/qutebrowser/issues/895") def test_long_output(self, fake_windows, tmpdir, sess_man): session_path = tmpdir / 'foo.yml'