From 74f7efd2a34e9dbbbccaeb21f93bd51fa234ab68 Mon Sep 17 00:00:00 2001 From: aselus-hub Date: Thu, 10 Dec 2015 15:10:55 -0800 Subject: [PATCH] added line comparison that is pytest-sugar agnostic. --- testing/python/collect.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testing/python/collect.py b/testing/python/collect.py index 34bf5d810..89b902fc9 100644 --- a/testing/python/collect.py +++ b/testing/python/collect.py @@ -1092,4 +1092,4 @@ def test_class_injection_does_not_break_collection(testdir): ''') result = testdir.runpytest() assert "RuntimeError: dictionary changed size during iteration" not in result.stdout.str() - result.stdout.fnmatch_lines(['*== 1 passed in *']) + result.stdout.fnmatch_lines(['*1 passed*'])