def test_type(self):
        eq = self.assertEqual
        touch(os.path.join(self.subpkgname, 'foo'+os.extsep+'py'), '''\
class foo(object):
    pass
''')
        from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import foo
        eq(repr(foo.foo),
               foo.__name__ % "<class '%s.foo'>")
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_repr.py/LongReprTest.test_type/swapped operands of `%`