src/img2pdf_test.py: numpy.float got deprecated in NumPy 1.20

This commit is contained in:
Johannes Schauer Marin Rodrigues 2021-04-12 06:16:05 +02:00
parent 17fd73aed8
commit c5fd43e851
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -560,7 +560,7 @@ def alpha_value():
[0.014962, 0.019703, 0.02324, 0.024556, 0.02324, 0.019703, 0.014962], [0.014962, 0.019703, 0.02324, 0.024556, 0.02324, 0.019703, 0.014962],
[0.011362, 0.014962, 0.017649, 0.018648, 0.017649, 0.014962, 0.011362], [0.011362, 0.014962, 0.017649, 0.018648, 0.017649, 0.014962, 0.011362],
], ],
numpy.float, float,
) )
# constructs a 2D array of a circle with a width of 36 # constructs a 2D array of a circle with a width of 36