diff options
Diffstat (limited to 'tests/run/importas.pyx')
-rw-r--r-- | tests/run/importas.pyx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/run/importas.pyx b/tests/run/importas.pyx index c57b057a2..6b3c98304 100644 --- a/tests/run/importas.pyx +++ b/tests/run/importas.pyx @@ -1,4 +1,14 @@ +# mode: run +# tag: all_language_levels + __doc__ = u""" +>>> try: sys +... except NameError: pass +... else: print("sys was defined!") +>>> try: distutils +... except NameError: pass +... else: print("distutils was defined!") + >>> import sys as sous >>> import distutils.core as corey >>> from copy import deepcopy as copey |