Lines Matching defs:sys
4 import sys
14 t = script_helper.assert_python_ok('-c', 'import sys; sys.exit(0)')
18 # I didn't import the sys module so this child will fail.
19 rc, out, err = script_helper.assert_python_failure('-c', 'sys.exit(0)')
23 # I didn't import the sys module so this child will fail.
25 script_helper.assert_python_ok('-c', 'sys.exit(0)')
28 self.assertIn('sys.exit(0)', error_msg, msg='unexpected command line')
32 script_helper.assert_python_failure('-c', 'import sys; sys.exit(0)')
35 self.assertIn('import sys; sys.exit(0)', error_msg,
51 self.assertEqual(sys.executable, popen_command[0])
113 self.assertEqual(sys.executable, check_call_command[0])