1
0
forked from VimPlug/jedi

Cache getting resolved param names

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

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