Back to index

python3.2  3.2.2
Classes | Functions | Variables
test.test_subprocess Namespace Reference

Classes

class  BaseTestCase
class  ProcessTestCase
class  _SuppressCoreFiles
class  POSIXProcessTestCase
class  Win32ProcessTestCase
class  CommandTests
class  ProcessTestCaseNoPoll
class  ProcessTestCasePOSIXPurePython
class  HelperFunctionTests
class  CommandsWithSpaces
class  ContextManagerTests

Functions

def mkstemp
def test_main

Variables

 gc = None
tuple mswindows = (sys.platform == "win32")
tuple SETBINARY
 mkstemp = tempfile.mkstemp

Function Documentation

Replacement for mkstemp, calling mktemp.

Definition at line 38 of file test_subprocess.py.

00038 
00039     def mkstemp():
00040         """Replacement for mkstemp, calling mktemp."""
00041         fname = tempfile.mktemp()
00042         return os.open(fname, os.O_RDWR|os.O_CREAT), fname
00043 

Here is the call graph for this function:

Definition at line 1667 of file test_subprocess.py.

01667 
01668 def test_main():
01669     unit_tests = (ProcessTestCase,
01670                   POSIXProcessTestCase,
01671                   Win32ProcessTestCase,
01672                   ProcessTestCasePOSIXPurePython,
01673                   CommandTests,
01674                   ProcessTestCaseNoPoll,
01675                   HelperFunctionTests,
01676                   CommandsWithSpaces,
01677                   ContextManagerTests,
01678                   )
01679 
01680     support.run_unittest(*unit_tests)
01681     support.reap_children()


Variable Documentation

Definition at line 19 of file test_subprocess.py.

Definition at line 35 of file test_subprocess.py.

tuple test.test_subprocess.mswindows = (sys.platform == "win32")

Definition at line 21 of file test_subprocess.py.

Initial value:
00001 ('import msvcrt; msvcrt.setmode(sys.stdout.fileno(), '
00002                                                 'os.O_BINARY);')

Definition at line 28 of file test_subprocess.py.