Skip TestSave.test_long_output on Windows.
This seems to segfault unpredictably when exiting pytest and I can't find out why. Fixes #895.
This commit is contained in:
parent
9229957b93
commit
8ffe591f98
@ -19,6 +19,7 @@
|
|||||||
|
|
||||||
"""Tests for qutebrowser.misc.sessions."""
|
"""Tests for qutebrowser.misc.sessions."""
|
||||||
|
|
||||||
|
import os
|
||||||
import textwrap
|
import textwrap
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
@ -516,6 +517,9 @@ class TestSave:
|
|||||||
for i, data in enumerate(user_data):
|
for i, data in enumerate(user_data):
|
||||||
history.itemAt(i).setUserData(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):
|
def test_long_output(self, fake_windows, tmpdir, sess_man):
|
||||||
session_path = tmpdir / 'foo.yml'
|
session_path = tmpdir / 'foo.yml'
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user