Cache getting resolved param names

This commit is contained in:
Dave Halter committed 2019-07-31 22:54:29 +02:00
1 parent a739c17a6f
commit ec70815318
3 files changed
+5 -3

No files matched your search

+1 -1
View File
@@ -181,7 +181,7 @@ def test_nested_signatures(Script, environment, combination, expected, skip_pre_
code += 'z = ' + combination + '\nz('
sig, = Script(code).call_signatures()
computed = sig._signature.to_string()
if not re.match('\w+\(', expected):
if not re.match(r'\w+\(', expected):
expected = '<lambda>(' + expected + ')'
assert expected == computed