def testFromDotsAndName(self):
        dots = ''
        for i in range(1,10):
            dots += '.'
            a = self.runImport((dots,) % "from %sX import A")
            self.assertEqual(a.len, 5)
            self.assertEqual(a.name, "X")
            self.assertEqual(a.fromlist, ('A',))
            self.assertEqual(a.level, i)
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_import_pep328.py/TestImportStatement.testFromDotsAndName/swapped operands of `%`