diff options
author | Bruno Oliveira <nicoddemus@gmail.com> | 2020-12-15 12:39:06 -0300 |
---|---|---|
committer | Bruno Oliveira <nicoddemus@gmail.com> | 2020-12-15 12:41:02 -0300 |
commit | 56600414df31431f1e0c2d964d0ad6761f83dd5d (patch) | |
tree | 788e8d249cf90fc73ea54340f1e24579d0fc89be /changelog | |
parent | 9ccbf5b89906604dc76daee1fc07c1d26b6b5128 (diff) | |
download | pytest-56600414df31431f1e0c2d964d0ad6761f83dd5d.tar.gz |
Merge pull request #8149 from pytest-dev/release-6.2.1
Prepare release 6.2.1
(cherry picked from commit a566eb9c7085d7732127420bd7ce5ec1f7319fba)
Diffstat (limited to 'changelog')
-rw-r--r-- | changelog/7678.bugfix.rst | 2 | ||||
-rw-r--r-- | changelog/8132.bugfix.rst | 10 |
2 files changed, 0 insertions, 12 deletions
diff --git a/changelog/7678.bugfix.rst b/changelog/7678.bugfix.rst deleted file mode 100644 index 4adc6ffd1..000000000 --- a/changelog/7678.bugfix.rst +++ /dev/null @@ -1,2 +0,0 @@ -Fixed bug where ``ImportPathMismatchError`` would be raised for files compiled in -the host and loaded later from an UNC mounted path (Windows). diff --git a/changelog/8132.bugfix.rst b/changelog/8132.bugfix.rst deleted file mode 100644 index 5be5e5674..000000000 --- a/changelog/8132.bugfix.rst +++ /dev/null @@ -1,10 +0,0 @@ -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. |