From 9fb528fb09ac3af5b7d8f575737920202ac941c4 Mon Sep 17 00:00:00 2001 From: Akuli Date: Sun, 23 Jan 2022 14:33:05 +0200 Subject: [PATCH] work around flake8 annoyance --- testing/test_terminal.py | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/testing/test_terminal.py b/testing/test_terminal.py index 6f926db34..3094649f3 100644 --- a/testing/test_terminal.py +++ b/testing/test_terminal.py @@ -400,6 +400,7 @@ class TestTerminal: """ ) + long_reason = "cannot do foobar because baz is missing due to I don't know what" common_output = [ "test_verbose_skip_reason.py::test_1 SKIPPED (123) *", "test_verbose_skip_reason.py::test_2 XPASS (456) *", @@ -426,8 +427,14 @@ class TestTerminal: result.stdout.fnmatch_lines( common_output + [ - "test_verbose_skip_reason.py::test_long_skip SKIPPED (cannot do foobar because baz is missing due to I don't know what) *", - "test_verbose_skip_reason.py::test_long_xfail XFAIL (cannot do foobar because baz is missing due to I don't know what) *", + ( + "test_verbose_skip_reason.py::test_long_skip SKIPPED" + " (cannot do foobar because baz is missing due to I don't know what) *" + ), + ( + "test_verbose_skip_reason.py::test_long_xfail XFAIL" + " (cannot do foobar because baz is missing due to I don't know what) *" + ), ] )