Back to index

python3.2  3.2.2
Public Member Functions
test.pickletester.UnseekableIO Class Reference

List of all members.

Public Member Functions

def peek
def seekable
def seek
def tell

Detailed Description

Definition at line 34 of file pickletester.py.


Member Function Documentation

def test.pickletester.UnseekableIO.peek (   self,
  args 
)

Definition at line 35 of file pickletester.py.

00035 
00036     def peek(self, *args):
00037         raise NotImplementedError

Here is the caller graph for this function:

def test.pickletester.UnseekableIO.seek (   self,
  args 
)

Definition at line 41 of file pickletester.py.

00041 
00042     def seek(self, *args):
00043         raise io.UnsupportedOperation

Here is the caller graph for this function:

Definition at line 38 of file pickletester.py.

00038 
00039     def seekable(self):
00040         return False

Definition at line 44 of file pickletester.py.

00044 
00045     def tell(self):
00046         raise io.UnsupportedOperation
00047 
00048 
00049 # We can't very well test the extension registry without putting known stuff
00050 # in it, but we have to be careful to restore its original state.  Code
00051 # should do this:
00052 #
00053 #     e = ExtensionSaver(extension_code)
00054 #     try:
00055 #         fiddle w/ the extension registry's stuff for extension_code
00056 #     finally:
00057 #         e.restore()


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