

def test_type(self):
    self._check_path_limitations('foo')
    eq = self.assertEqual
    write_file(os.path.join(self.subpkgname, 'foo.py'), 'class foo(object):\n    pass\n')
    importlib.invalidate_caches()
    from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import foo
    self(repr(foo.foo), ("<class '%s.foo'>" % foo.__name__))

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_reprlib.py LongReprTest.test_type/VarMisuse@54/111 `eq`->`self`