name = 'relimp.B.C' from import D# Imports relimp.B.D from.DX# Imports relimp.B.D.X from..E# Imports relimp.E from..FG# Imports relimp.F.G from..FH# Imports relimp.F.H assert D.name == 'relimp.B.D' assert E.name == 'relimp.E' assert G.name == 'relimp.F.G' assert H.name == 'relimp.F.H'