Home
last modified time | relevance | path

Searched refs:_make_pkg (Results 1 – 2 of 2) sorted by relevance

/external/python/cpython3/Lib/test/
Dtest_runpy.py223 def _make_pkg(self, source, depth, mod_base="runpy_test", member in RunModuleTestCase
292 self._make_pkg(example_source, depth,
332 self._make_pkg(example_source, depth, "__main__",
400 self._make_pkg(contents, depth))
450 result = self._make_pkg("", 1, "__main__")
477 pkg_dir, _, mod_name, _ = self._make_pkg("", 1)
487 pkg_dir, _, mod_name, _ = self._make_pkg("", 1, "__main__")
540 self._make_pkg(example_source, depth))
578 self._make_pkg("", max_depth))
/external/python/cpython2/Lib/test/
Dtest_runpy.py116 def _make_pkg(self, source, depth, mod_base="runpy_test"): member in RunModuleTest
163 self._make_pkg("x=1\n", depth))
185 self._make_pkg("x=1\n", depth, "__main__"))
238 self._make_pkg(contents, depth))
280 result = self._make_pkg("", 1, "__main__")