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.py220 def _make_pkg(self, source, depth, mod_base="runpy_test", member in RunModuleTestCase
290 self._make_pkg(example_source, depth,
330 self._make_pkg(example_source, depth, "__main__",
398 self._make_pkg(contents, depth))
448 result = self._make_pkg("", 1, "__main__")
475 pkg_dir, _, mod_name, _ = self._make_pkg("", 1)
485 pkg_dir, _, mod_name, _ = self._make_pkg("", 1, "__main__")
538 self._make_pkg(example_source, depth))
576 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__")