From 7e03dbe35d1e2926c919e08758fd64d7839d7275 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sun, 4 May 2014 09:34:26 +0200 Subject: [PATCH] Change order of expected output in log_call test This will fail on OSX but work on Debian (no idea as to why, yet) --- tests/integration/tools_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/integration/tools_tests.py b/tests/integration/tools_tests.py index 8669778..d57ad90 100644 --- a/tests/integration/tools_tests.py +++ b/tests/integration/tools_tests.py @@ -33,7 +33,7 @@ def test_log_call(): eq_(stdout, ['two', 'four\rthree']) expected_order = ['one', 'two', - 'No, three..', # The "four" is only recorded *after* the process is done (no newline)... - 'four\rthree', # .. which is why "No, three" comes first + 'four\rthree', + 'No, three..', ] eq_(logged.getvalue().split("\n")[8:-1], expected_order)