Back to index

python3.2  3.2.2
Public Member Functions
test.test_index.RangeTestCase Class Reference

List of all members.

Public Member Functions

def test_range

Detailed Description

Definition at line 202 of file test_index.py.


Member Function Documentation

Definition at line 204 of file test_index.py.

00204 
00205     def test_range(self):
00206         n = newstyle()
00207         n.ind = 5
00208         self.assertEqual(range(1, 20)[n], 6)
00209         self.assertEqual(range(1, 20).__getitem__(n), 6)
00210 

Here is the call graph for this function:


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