From a021e8402f58165e30edd737f258939a6bfd3148 Mon Sep 17 00:00:00 2001 From: Shaun Ruffell Date: Sun, 17 Nov 2019 23:42:02 -0600 Subject: [PATCH] Ignore stderr output in TestHelp.test_help_with_command_should_show_man_page --- test/help.t | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/test/help.t b/test/help.t index 5c8096f0..1c1e912b 100755 --- a/test/help.t +++ b/test/help.t @@ -61,7 +61,9 @@ class TestHelp(TestCase): def test_help_with_command_should_show_man_page(self): """timew help with command should show man page""" code, out, err = self.t("help start") - self.assertEquals(err, "") + # Some versions of man have bug that displays following on stderr: + # doc/man1/timew-shorten.1.in: ignoring bogus filename + # Just check that stdout is correct here. self.assertRegexpMatches(out, r"timew-start\(1\)\s+User Manuals\s+timew-start\(1\)") def test_help_with_unknown_argument_should_show_error_message(self):