See https://github.com/mpmath/mpmath/issues/1013. Probably it's PyPy issue, gmpy backend (gmpy2) is also affected.
See mpmath/mpmath#1013. Probably it's PyPy issue, gmpy backend (gmpy2) is also affected.