Path to this page:
Subject: CVS commit: pkgsrc/devel/py-test
From: Adam Ciarcinski
Date: 2020-12-16 14:15:12
Message id: 20201216131512.F19D4FA9D@cvs.NetBSD.org
Log Message:
py-test: updated to 6.2.1
pytest 6.2.1
Bug Fixes
Fixed bug where ImportPathMismatchError would be raised for files compiled in \
the host and loaded later from an UNC mounted path (Windows).
Fixed regression in approx: in 6.2.0 approx no longer raises TypeError when \
dealing with non-numeric types, falling back to normal comparison. Before 6.2.0, \
array types like tf.DeviceArray fell through to the scalar case, and happened to \
compare correctly to a scalar if they had only one element. After 6.2.0, these \
types began failing, because they inherited neither from standard Python number \
hierarchy nor from numpy.ndarray.
approx now converts arguments to numpy.ndarray if they expose the array protocol \
and are not scalars. This treats array-like objects like numpy arrays, \
regardless of size.
Files: