Commit 49688b0b authored by Stefan Behnel's avatar Stefan Behnel

extend test

parent 198ec293
...@@ -53,10 +53,13 @@ def bfunc(): return 'b' ...@@ -53,10 +53,13 @@ def bfunc(): return 'b'
######## relimport/testmod.pyx ######## ######## relimport/testmod.pyx ########
# cython: language_level=3 # cython: language_level=3
from relimport import a, bmod from relimport import a as global_a, bmod as global_bmod
from . import * from . import *
assert a is global_a, a
assert bmod is global_bmod, bmod
def test_relative(): def test_relative():
from . import a, bmod from . import a, bmod
from . import (a, bmod) from . import (a, bmod)
......
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