Lines Matching defs:sys
39 import sys
82 self.sName = os.path.splitext(os.path.basename(sys.argv[0]))[0];
295 self.oStdErr = sys.stderr; # Hack for __del__ output.
331 self.oLogFile.write(('Created log file at %s.\nRunning: %s' % (sTsIso, sys.argv)).encode('utf-8'));
533 self.oOutput = sys.stdout; # Hack for __del__ output.
547 if sys.version_info[0] >= 3 \
548 or (sys.version_info[0] == 2 and sys.version_info[1] >= 6):
854 oType, oValue, oTraceback = sys.exc_info();
1219 oType, oValue, oTraceback = sys.exc_info();
1314 for idThread, oStack in sys._current_frames().items(): # >=2.5, a bit ugly - pylint: disable=W0212
1353 try: sys.stdout.flush();
1355 try: sys.stderr.flush();
1379 print >> sys.stderr, os.path.basename(__file__) + ": Unknown TESTBOX_REPORTER value: '" + g_sReporterName + "'";