Always cast pr to er in _follow_statements_imports
This commit is contained in:
1 parent
41f32f21ea
commit
d3ac1e902e
3 files changed
+12
-5
No files matched your search
@@ -127,6 +127,11 @@ def test_completion_docstring():
|
||||
assert c.docstring(raw=True, fast=False) == cleandoc(Script.__doc__)
|
||||
|
||||
|
||||
def test_completion_params():
|
||||
c = Script('import string; string.capwords').completions()[0]
|
||||
assert [p.name for p in c.params] == ['s', 'sep']
|
||||
|
||||
|
||||
def test_signature_params():
|
||||
def check(defs):
|
||||
params = defs[0].params
|
||||
|
||||
Reference in new issue
Block a user