Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/test/support/
Dscript_helper.py24 def _assert_python(expected_success, *args, **env_vars): function
55 return _assert_python(True, *args, **env_vars)
62 return _assert_python(False, *args, **env_vars)
/external/python/cpython3/Lib/test/support/
Dscript_helper.py139 def _assert_python(expected_success, /, *args, **env_vars): function
156 return _assert_python(True, *args, **env_vars)
166 return _assert_python(False, *args, **env_vars)
/external/python/cpython3/Lib/test/
Dtest_script_helper.py45 script_helper._assert_python(True, '-c', 'None')
64 script_helper._assert_python(True, '-c', 'None')
Dtest_subprocess.py298 def _assert_python(self, pre_args, **kwargs): member in ProcessTestCase
315 self._assert_python([doesnotexist, "-c"], executable=sys.executable)
320 self._assert_python([doesnotexist, "-c"],
326 self._assert_python([doesnotexist, "-c"],
334 self._assert_python(pre_args)
336 self._assert_python, pre_args,
343 self._assert_python([], executable=sys.executable, shell=True)
347 self._assert_python([], executable=os.fsencode(sys.executable),
352 self._assert_python([], executable=FakePath(sys.executable),
/external/python/futures/
Dtest_futures.py42 def _assert_python(expected_success, *args, **env_vars): function
78 return _assert_python(True, *args, **env_vars)