Home
last modified time | relevance | path

Searched refs:_assert_python (Results 1 – 3 of 3) sorted by relevance

/third_party/python/Lib/test/support/
Dscript_helper.py142 def _assert_python(expected_success, /, *args, **env_vars): function
160 return _assert_python(True, *args, **env_vars)
171 return _assert_python(False, *args, **env_vars)
/third_party/python/Lib/test/
Dtest_script_helper.py45 script_helper._assert_python(True, '-c', 'None')
64 script_helper._assert_python(True, '-c', 'None')
Dtest_subprocess.py329 def _assert_python(self, pre_args, **kwargs): member in ProcessTestCase
346 self._assert_python([doesnotexist, "-c"], executable=sys.executable)
351 self._assert_python([doesnotexist, "-c"],
357 self._assert_python([doesnotexist, "-c"],
365 self._assert_python(pre_args)
367 self._assert_python, pre_args,
374 self._assert_python([], executable=sys.executable, shell=True)
378 self._assert_python([], executable=os.fsencode(sys.executable),
383 self._assert_python([], executable=FakePath(sys.executable),