From a04410bd290aea0995086ce615d5421ef7861807 Mon Sep 17 00:00:00 2001 From: Jason Rhinelander Date: Fri, 24 Feb 2017 15:45:54 -0500 Subject: [PATCH] Workaround style check false positive --- tests/test_kwargs_and_defaults.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_kwargs_and_defaults.py b/tests/test_kwargs_and_defaults.py index e3cb0f6bc..90f8489ed 100644 --- a/tests/test_kwargs_and_defaults.py +++ b/tests/test_kwargs_and_defaults.py @@ -35,7 +35,7 @@ def test_named_arguments(msg): # noinspection PyArgumentList kw_func2(x=5, y=10, z=12) assert excinfo.match( - r'(?s)^kw_func2\(\): incompatible.*Invoked with: kwargs: ((x=5|y=10|z=12)(, |$)){3}$') + r'(?s)^kw_func2\(\): incompatible.*Invoked with: kwargs: ((x=5|y=10|z=12)(, |$))' + '{3}$') assert kw_func4() == "{13 17}" assert kw_func4(myList=[1, 2, 3]) == "{1 2 3}"