Home | History | Annotate | Download | only in test

Lines Matching refs:MyInt

4 class MyInt(c_int):
6 if type(other) != MyInt:
15 self.assertEqual(MyInt(3), MyInt(3))
16 self.assertNotEqual(MyInt(42), MyInt(43))
35 cb = CFUNCTYPE(None, MyInt)(func)
38 self.assertEqual(type(args[-1]), MyInt)
47 _fields_ = [("x", MyInt)]
49 self.assertEqual(X().x, MyInt())
52 s.x = MyInt(42)
54 self.assertEqual(s.x, MyInt(42))