8 lines
189 B
Python
8 lines
189 B
Python
from mpmath import fp, iv, mp, mpc, mpf
|
|
|
|
|
|
def test_newstyle_classes():
|
|
for cls in [mp, fp, iv, mpf, mpc]:
|
|
for s in cls.__class__.__mro__:
|
|
assert isinstance(s, type)
|