Files
pyan/tests/test_code/submodule1.py
2020-10-15 17:37:40 +01:00

24 lines
326 B
Python

from test_code.subpackage1 import A
from test_code import subpackage1 as subpackage
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)