summaryrefslogtreecommitdiff
path: root/tests/unit/misc
diff options
context:
space:
mode:
authorFlorian Bruhin <me@the-compiler.org>2021-01-14 11:40:24 +0100
committerFlorian Bruhin <me@the-compiler.org>2021-01-14 11:40:24 +0100
commite66968737d433ccc4a5664491e50fad38d5655c3 (patch)
treeb7c7febe8a5f0411b319117ea884f9527d5ab2c7 /tests/unit/misc
parent32229f8b07a6773bdafff04ce2db582f9eefaf5e (diff)
downloadqutebrowser-e66968737d433ccc4a5664491e50fad38d5655c3.tar.gz
qutebrowser-e66968737d433ccc4a5664491e50fad38d5655c3.zip
Revert "guiprocess: Improve output for crashing processes"
This reverts commit 32229f8b07a6773bdafff04ce2db582f9eefaf5e. Seems to act differently on Windows.
Diffstat (limited to 'tests/unit/misc')
-rw-r--r--tests/unit/misc/test_guiprocess.py12
1 files changed, 0 insertions, 12 deletions
diff --git a/tests/unit/misc/test_guiprocess.py b/tests/unit/misc/test_guiprocess.py
index e86eda5c4..4ed19f64e 100644
--- a/tests/unit/misc/test_guiprocess.py
+++ b/tests/unit/misc/test_guiprocess.py
@@ -237,18 +237,6 @@ def test_exit_unsuccessful(qtbot, proc, message_mock, py_proc, caplog):
assert msg.text == expected
-def test_exit_crash(qtbot, proc, message_mock, py_proc, caplog):
- with caplog.at_level(logging.ERROR):
- with qtbot.waitSignal(proc.finished, timeout=10000):
- proc.start(*py_proc("""
- import os, signal
- os.kill(os.getpid(), signal.SIGSEGV)
- """))
-
- msg = message_mock.getmsg(usertypes.MessageLevel.error)
- assert msg.text == "Testprocess crashed."
-
-
@pytest.mark.parametrize('stream', ['stdout', 'stderr'])
def test_exit_unsuccessful_output(qtbot, proc, caplog, py_proc, stream):
"""When a process fails, its output should be logged."""