mirror of
https://github.com/pocketpy/pocketpy
synced 2025-10-20 11:30:18 +00:00
...
This commit is contained in:
parent
26a12bb640
commit
11f709b768
@ -10,8 +10,9 @@ import test1
|
|||||||
|
|
||||||
assert test1.add(1, 2) == 13
|
assert test1.add(1, 2) == 13
|
||||||
|
|
||||||
from test2.a.g import get_value
|
from test2.a.g import get_value, A
|
||||||
assert get_value() == '123'
|
assert get_value() == '123'
|
||||||
|
assert (A.__module__ == 'test2.a.g'), A.__module__
|
||||||
|
|
||||||
import test2
|
import test2
|
||||||
assert test2.a.g.get_value() == '123'
|
assert test2.a.g.get_value() == '123'
|
||||||
|
@ -3,4 +3,7 @@ ok = True
|
|||||||
from ...utils import r
|
from ...utils import r
|
||||||
|
|
||||||
def get_value():
|
def get_value():
|
||||||
return r.value
|
return r.value
|
||||||
|
|
||||||
|
class A:
|
||||||
|
pass
|
Loading…
x
Reference in New Issue
Block a user