From c5d8cf8eb6a6e84347b9379945f308f29a2fe5cb Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Fri, 30 Nov 2018 03:27:41 -0500 Subject: Use pylint. --- tools/util_test.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tools/util_test.py') diff --git a/tools/util_test.py b/tools/util_test.py index 24fd2eba1..bf2b92b5a 100644 --- a/tools/util_test.py +++ b/tools/util_test.py @@ -21,7 +21,8 @@ def pattern_match_test(): # Iterate through the fixture lists, testing each one for (pattern, string, expected) in fixtures: actual = pattern_match(pattern, string) - assert expected == actual, "expected %s for\nExpected:\n%s\nTo equal actual:\n%s" % ( + assert expected == actual, \ + "expected %s for\nExpected:\n%s\nTo equal actual:\n%s" % ( expected, pattern, string) assert pattern_match("foo[BAR]baz", "foobarbaz", -- cgit v1.2.3