You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
src/sage/libs/mpmath/ext_main.pyx: fix two repr tests with clone()
There are two tests in this file that are attempting to test the
repr() of an mpmath number with mp.pretty=True set globally. The
shared state is causing test failures, but we can't simply leave it
off, because that's the point of the test. Instead we can clone()
the "mp" object to obtain a new one (whose state is not so global)
and then work with that instead.
0 commit comments