diff --git a/test/completion/docstring.py b/test/completion/docstring.py index c14188c4..338080a4 100644 --- a/test/completion/docstring.py +++ b/test/completion/docstring.py @@ -218,3 +218,18 @@ def __init__(foo): """ #? str() foo + + +# ----------------- +# Renamed imports (#507) +# ----------------- + +import datetime +from datetime import datetime as datetime_imported + +def import_issues(foo): + """ + @type foo: datetime_imported + """ + #? datetime.datetime() + foo