Cache getting resolved param names
This commit is contained in:
1 parent
a739c17a6f
commit
ec70815318
3 files changed
+5
-3
No files matched your search
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user