1# This tests relative imports as used in pkg3
2import pkg3
3import pkg3.mod1
4import pkg3.subpkg1.mod1
5
6pkg3.subpkg1.mod1.foo()
7