Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
15d20eaf
Commit
15d20eaf
authored
Nov 13, 2008
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
extended test case
parent
1cd3c12f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
tests/run/importas.pyx
tests/run/importas.pyx
+15
-2
No files found.
tests/run/importas.pyx
View file @
15d20eaf
__doc__
=
u"""
__doc__
=
u"""
>>> import sys as sous
>>> import sys as sous
>>> import distutils.core as corey
>>> import distutils.core as corey
>>> from copy import copy as copey
>>> from copy import
deep
copy as copey
>>> sous is _sous
>>> sous is _sous
True
True
...
@@ -16,8 +16,21 @@ True
...
@@ -16,8 +16,21 @@ True
True
True
>>> _copey is not None
>>> _copey is not None
True
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
sys
as
_sous
import
distutils.core
as
_corey
import
distutils.core
as
_corey
from
copy
import
copy
as
_copey
from
copy
import
deep
copy
as
_copey
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment