Back to index

python3.2  3.2.2
Public Member Functions
test.test_io.MisbehavedRawIO Class Reference
Inheritance diagram for test.test_io.MisbehavedRawIO:
Inheritance graph
[legend]
Collaboration diagram for test.test_io.MisbehavedRawIO:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def write
def read
def seek
def tell
def readinto
def writable
def fileno
def readable
def seekable
def truncate

Detailed Description

Definition at line 133 of file test_io.py.


Member Function Documentation

def test.test_io.MockRawIOWithoutRead.fileno (   self) [inherited]

Definition at line 70 of file test_io.py.

00070 
00071     def fileno(self):
00072         return 42

Here is the caller graph for this function:

def test.test_io.MisbehavedRawIO.read (   self,
  n = None 
)

Reimplemented from test.test_io.MockRawIO.

Definition at line 137 of file test_io.py.

00137 
00138     def read(self, n=None):
00139         return super().read(n) * 2

Here is the caller graph for this function:

def test.test_io.MockRawIOWithoutRead.readable (   self) [inherited]

Definition at line 73 of file test_io.py.

00073 
00074     def readable(self):
00075         return True

def test.test_io.MisbehavedRawIO.readinto (   self,
  buf 
)

Reimplemented from test.test_io.MockRawIOWithoutRead.

Definition at line 146 of file test_io.py.

00146 
00147     def readinto(self, buf):
00148         super().readinto(buf)
00149         return len(buf) * 5

def test.test_io.MisbehavedRawIO.seek (   self,
  pos,
  whence 
)

Reimplemented from test.test_io.MockRawIOWithoutRead.

Definition at line 140 of file test_io.py.

00140 
00141     def seek(self, pos, whence):
00142         return -123

Here is the caller graph for this function:

def test.test_io.MockRawIOWithoutRead.seekable (   self) [inherited]

Definition at line 76 of file test_io.py.

00076 
00077     def seekable(self):
00078         return True

Reimplemented from test.test_io.MockRawIOWithoutRead.

Definition at line 143 of file test_io.py.

00143 
00144     def tell(self):
00145         return -456

def test.test_io.MockRawIOWithoutRead.truncate (   self,
  pos = None 
) [inherited]

Definition at line 106 of file test_io.py.

00106 
00107     def truncate(self, pos=None):
00108         return pos

def test.test_io.MockRawIOWithoutRead.writable (   self) [inherited]

Definition at line 67 of file test_io.py.

00067 
00068     def writable(self):
00069         return True

def test.test_io.MisbehavedRawIO.write (   self,
  b 
)

Reimplemented from test.test_io.MockRawIOWithoutRead.

Definition at line 134 of file test_io.py.

00134 
00135     def write(self, b):
00136         return super().write(b) * 2


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