Reorganize imports in mpmath/tests/test_gammazeta.py (no star imports)

This commit is contained in:
Sergey B Kirpichev
2023-05-03 11:29:40 +03:00
parent 0c72891aab
commit cfbc8a442d
+9 -2
View File
@@ -1,5 +1,12 @@
from mpmath import *
from mpmath.libmp import round_up, from_float, mpf_zeta_int
from mpmath import (altzeta, apery, barnesg, bell, bernfrac, bernoulli,
bernpoly, beta, binomial, catalan, digamma, e, euler,
eulerpoly, fac, fac2, factorial, fadd, ff, findroot, fp,
fraction, gamma, gammaprod, harmonic, hyperfac, inf, isnan,
j, log, loggamma, mp, mpc, mpf, mpmathify, nan, pi,
polyexp, polylog, primezeta, psi, rf, rgamma, sech,
siegelz, sinc, sqrt, stieltjes, superfac, zeta)
from mpmath.libmp import from_float, mpf_zeta_int, round_up
def test_zeta_int_bug():
assert mpf_zeta_int(0, 10) == from_float(-0.5)