test_mpmath.py 196 B

1234567
  1. from mpmath.libmp import *
  2. from mpmath import *
  3. def test_newstyle_classes():
  4. for cls in [mp, fp, iv, mpf, mpc]:
  5. for s in cls.__class__.__mro__:
  6. assert isinstance(s, type)