Skip to content

Latest commit

 

History

History
5 lines (5 loc) · 322 Bytes

3593.bugfix.rst

File metadata and controls

5 lines (5 loc) · 322 Bytes

If the user pass as a expected value a numpy array created like numpy.array(5); it will creates an array with one element without shape, when used with approx it will raise an error for the repr 'TypeError: iteration over a 0-d array'. With this PR pytest will iterate properly in the numpy array even with 0 dimension.