kopia lustrzana https://github.com/micropython/micropython
tests: Add another testcase for relative imports.
rodzic
9e6c82960e
commit
ee831cafa9
|
@ -0,0 +1,2 @@
|
||||||
|
# This tests relative imports as used in pkg6
|
||||||
|
import pkg6
|
|
@ -0,0 +1,2 @@
|
||||||
|
from .x import *
|
||||||
|
print('init')
|
|
@ -0,0 +1,2 @@
|
||||||
|
from .y import *
|
||||||
|
print('x')
|
|
@ -0,0 +1 @@
|
||||||
|
print('y')
|
Ładowanie…
Reference in New Issue