Lines Matching refs:modname
24 def check_all(self, modname): argument
29 exec "import %s" % modname in names
34 raise FailedImport(modname)
35 if not hasattr(sys.modules[modname], "__all__"):
36 raise NoAll(modname)
39 exec "from %s import *" % modname in names
43 modname, e.__class__.__name__, e))
47 all = set(sys.modules[modname].__all__)
90 for path, modname in self.walk_modules(lib_dir, ""):
91 m = modname
101 print(modname)
107 raise NoAll(modname)
108 self.check_all(modname)
110 ignored.append(modname)
112 failed_imports.append(modname)