Commit 6b91856f authored by Stefan Behnel's avatar Stefan Behnel

new test for import-from with/without parentheses

parent 72fc9e34
__doc__ = u"""
>>> from distutils import cmd, core, version
>>> import1() == (cmd, core, version)
True
>>> import2() == (cmd, core, version)
True
>>> import3() == (cmd, core, version)
True
>>> import4() == (cmd, core, version)
True
"""
def import1():
from distutils import (
cmd,
core, version)
return cmd, core, version
def import2():
from distutils import (cmd,
core,
version
)
return cmd, core, version
def import3():
from distutils import (cmd, core,version)
return cmd, core, version
def import4():
from distutils import cmd, core, version
return cmd, core, version
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment