Bump pytest from 6.1.2 to 6.2.1
Bumps pytest from 6.1.2 to 6.2.1.
Release notes
Sourced from pytest's releases.
6.2.1
pytest 6.2.1 (2020-12-15)
Bug Fixes
#7678: Fixed bug where
ImportPathMismatchErrorwould be raised for files compiled in the host and loaded later from an UNC mounted path (Windows).#8132: Fixed regression in
approx: in 6.2.0approxno longer raisesTypeErrorwhen 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 fromnumpy.ndarray.
approxnow converts arguments tonumpy.ndarrayif they expose the array protocol and are not scalars. This treats array-like objects like numpy arrays, regardless of size.6.2.0
pytest 6.2.0 (2020-12-12)
Breaking Changes
- #7808: pytest now supports python3.6+ only.
Deprecations
... (truncated)
#7469: Directly constructing/calling the following classes/functions is now deprecated:
_pytest.cacheprovider.Cache_pytest.cacheprovider.Cache.for_config()_pytest.cacheprovider.Cache.clear_cache()_pytest.cacheprovider.Cache.cache_dir_from_config()_pytest.capture.CaptureFixture_pytest.fixtures.FixtureRequest_pytest.fixtures.SubRequest_pytest.logging.LogCaptureFixture_pytest.pytester.Pytester_pytest.pytester.Testdir_pytest.recwarn.WarningsRecorder_pytest.recwarn.WarningsChecker_pytest.tmpdir.TempPathFactory_pytest.tmpdir.TempdirFactoryThese have always been considered private, but now issue a deprecation warning, which may become a hard error in pytest 7.0.0.
Commits
-
d3971c3Prepare release version 6.2.1 -
780044bMerge pull request #8147 from nicoddemus/backport-8137 -
8354995python_api: handle array-like args in approx() (#8137) -
8b8b121Merge pull request #8135 from nicoddemus/backport-8123 -
f854cf6Merge pull request #8123 from nicoddemus/import-mismatch-unc -
c475106Merge pull request #8130 from pytest-dev/release-6.2.0 -
e7073afPrepare release version 6.2.0 -
683f29fMerge pull request #8129 from bluetech/docs-pygments-workaround -
0feeddfdoc: temporary workaround for pytest-pygments lexing error -
b478275Merge pull request #8128 from bluetech/skip-reason-empty - Additional commits viewable in compare view