From: Stefan Behnel Date: Thu, 13 Nov 2008 07:10:10 +0000 (+0100) Subject: extended test case X-Git-Tag: 0.11-beta~259 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=15d20eaf74f1aa4744dfb9611be6c5c2407d63df;p=cython.git extended test case --- diff --git a/tests/run/importas.pyx b/tests/run/importas.pyx index 11fb87e0..6eb84e8b 100644 --- a/tests/run/importas.pyx +++ b/tests/run/importas.pyx @@ -1,7 +1,7 @@ __doc__ = u""" >>> import sys as sous >>> import distutils.core as corey ->>> from copy import copy as copey +>>> from copy import deepcopy as copey >>> sous is _sous True @@ -16,8 +16,21 @@ True True >>> _copey is not None True + +>>> print(_sous.__name__) +sys +>>> print(sous.__name__) +sys +>>> print(_corey.__name__) +distutils.core +>>> print(corey.__name__) +distutils.core +>>> print(_copey.__name__) +deepcopy +>>> print(copey.__name__) +deepcopy """ import sys as _sous import distutils.core as _corey -from copy import copy as _copey +from copy import deepcopy as _copey