Back to index

python3.2  3.2.2
Static Public Attributes | Private Member Functions
test.test_memoryview.BaseMemorySliceSliceTests Class Reference
Inheritance diagram for test.test_memoryview.BaseMemorySliceSliceTests:
Inheritance graph
[legend]
Collaboration diagram for test.test_memoryview.BaseMemorySliceSliceTests:
Collaboration graph
[legend]

List of all members.

Static Public Attributes

string source_bytes = "XabcdefY"

Private Member Functions

def _view
def _check_contents

Detailed Description

Definition at line 341 of file test_memoryview.py.


Member Function Documentation

def test.test_memoryview.BaseMemorySliceSliceTests._check_contents (   self,
  tp,
  obj,
  contents 
) [private]

Definition at line 348 of file test_memoryview.py.

00348 
00349     def _check_contents(self, tp, obj, contents):
00350         self.assertEqual(obj[1:7], tp(contents))
00351 
00352 
00353 # Concrete test classes

Here is the call graph for this function:

Here is the caller graph for this function:

def test.test_memoryview.BaseMemorySliceSliceTests._view (   self,
  obj 
) [private]

Definition at line 344 of file test_memoryview.py.

00344 
00345     def _view(self, obj):
00346         m = memoryview(obj)
00347         return m[:7][1:]

Here is the caller graph for this function:


Member Data Documentation

Definition at line 342 of file test_memoryview.py.


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