Back to index

python3.2  3.2.2
Public Member Functions | Public Attributes | Static Public Attributes
distutils.tests.test_cygwinccompiler.FakePopen Class Reference
Inheritance diagram for distutils.tests.test_cygwinccompiler.FakePopen:
Inheritance graph
Collaboration diagram for distutils.tests.test_cygwinccompiler.FakePopen:
Collaboration graph

List of all members.

Public Member Functions

def __init__

Public Attributes

_PyObject_HEAD_EXTRA Py_ssize_t ob_refcnt
struct _typeobjectob_type

Static Public Attributes

 test_class = None

Detailed Description

Definition at line 16 of file

Constructor & Destructor Documentation

def distutils.tests.test_cygwinccompiler.FakePopen.__init__ (   self,

Definition at line 19 of file

00020     def __init__(self, cmd, shell, stdout):
00021         self.cmd = cmd.split()[0]
00022         exes = self.test_class._exes
00023         if self.cmd in exes:
00024             # issue #6438 in Python 3.x, Popen returns bytes
00025             self.stdout = BytesIO(exes[self.cmd])
00026         else:
00027             self.stdout = os.popen(cmd, 'r')

Here is the caller graph for this function:

Member Data Documentation

Definition at line 20 of file

Definition at line 107 of file object.h.

struct _typeobject* _object::ob_type [inherited]

Definition at line 108 of file object.h.

Definition at line 24 of file

Definition at line 17 of file

The documentation for this class was generated from the following file: