Back to index

python3.2  3.2.2
Public Member Functions
ctypes.test.test_repr.ReprTest Class Reference

List of all members.

Public Member Functions

def test_numbers
def test_char

Detailed Description

Definition at line 17 of file

Member Function Documentation

Definition at line 24 of file

00025     def test_char(self):
00026         self.assertEqual("c_char(b'x')", repr(c_char(b'x')))
00027         self.assertEqual("<X object at", repr(X(b'x'))[:12])

Here is the call graph for this function:

Definition at line 18 of file

00019     def test_numbers(self):
00020         for typ in subclasses:
00021             base = typ.__bases__[0]
00022             self.assertTrue(repr(base(42)).startswith(base.__name__))
00023             self.assertEqual("<X object at", repr(typ(42))[:12])

Here is the call graph for this function:

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