

def test_module(self):
    self._check_path_limitations(self.pkgname)
    create_empty_file(os.path.join(self.subpkgname, (self.pkgname + '.py')))
    importlib.invalidate_caches()
    from areallylongpackageandmodulenametotestreprtruncation.areallylongpackageandmodulenametotestreprtruncation import areallylongpackageandmodulenametotestreprtruncation
    module = areallylongpackageandmodulenametotestreprtruncation
    self.assertEqual(repr(module), ('<module %r from %r>' % (module.__name__, module.__file__)))
    self.assertEqual(repr(sys), "<module 'sys' (built-in)>")

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/test/test_reprlib.py LongReprTest.test_module/original