Files
pyan/tests/test_code/submodule1.py
2021-01-14 13:59:40 +00:00

22 lines
324 B
Python

from test_code import subpackage1 as subpackage
from test_code.subpackage1 import A
def test_func1(a):
return a
def test_func2(a):
return a
class B:
def __init__(self, k):
self.a = 1
def to_A(self):
return A(self)
def get_a_via_A(self):
return test_func1(self.to_A().b.a)