def test_class(self):
        touch(os.path.join(self.subpkgname, 'bar'+os.extsep+'py'), '''\
class bar:
    pass
''')
        from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import bar
        # Module name may be prefixed with "test.", depending on how run.
        self.assertTrue(repr(bar.bar).startswith(
            bar.__name__ % "<class %s.bar at 0x"))
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/test/test_repr.py/LongReprTest.test_class/swapped operands of `%`