Home
last modified time | relevance | path

Searched refs:MyComplex (Results 1 – 5 of 5) sorted by relevance

/external/python/cpython2/Lib/test/
Dtest_cmath.py141 class MyComplex(object): class
199 self.assertEqual(f(MyComplex(cx_arg)), f(cx_arg))
217 self.assertRaises(TypeError, f, MyComplex(bad_complex))
Dpickletester.py1654 class MyComplex(complex): class
1673 MyComplex,
/external/python/cpython3/Lib/test/
Dtest_cmath.py195 class MyComplex(object): class
250 self.assertEqual(f(MyComplex(cx_arg)), f(cx_arg))
268 self.assertRaises(TypeError, f, MyComplex(bad_complex))
Dpickletester.py3070 class MyComplex(complex): class
3095 MyComplex,
Dtest_descr.py1069 class MyComplex(complex): class
1072 (1 + 2j).__class__ = MyComplex