Files
python-pytest-regressions/python-pytest-regressions.changes
Dirk Mueller 82cb7c0158 - update to 2.4.2:
* Properly handle missing index ``0``.
  * Compatibility fix for pytest 6.2.
  * New ``--regen-all`` flag, which regenerates all files without
    failing the tests. Useful to regenerate all files in
    the test suite with a single run.
  * The public API is now fully type annotated.
  * ``pytest>=6.2`` is now required.
  * Properly handle empty and NaN values on
    num_regression and dataframe_regression.
  * New ``--with-test-class-names`` command-line flag to consider
    test class names when composing the expected and obtained
    data filenames. Needed when the same module contains
    different classes with the same method names.
  * New ``ndarrays_regression``, for comparing NumPy arrays with
    arbitrary shape.
  * Fix ``empty string bug`` on dataframe regression.
- drop np_num-deprecated.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:pytest/python-pytest-regressions?expand=0&rev=5
2023-05-09 21:09:54 +00:00

45 lines
1.8 KiB
Plaintext

-------------------------------------------------------------------
Tue May 9 21:07:08 UTC 2023 - Dirk Müller <dmueller@suse.com>
- update to 2.4.2:
* Properly handle missing index ``0``.
* Compatibility fix for pytest 6.2.
* New ``--regen-all`` flag, which regenerates all files without
failing the tests. Useful to regenerate all files in
the test suite with a single run.
* The public API is now fully type annotated.
* ``pytest>=6.2`` is now required.
* Properly handle empty and NaN values on
num_regression and dataframe_regression.
* New ``--with-test-class-names`` command-line flag to consider
test class names when composing the expected and obtained
data filenames. Needed when the same module contains
different classes with the same method names.
* New ``ndarrays_regression``, for comparing NumPy arrays with
arbitrary shape.
* Fix ``empty string bug`` on dataframe regression.
- drop np_num-deprecated.patch (upstream)
-------------------------------------------------------------------
Fri May 5 19:54:00 UTC 2023 - Johannes Kastl <kastl@b1-systems.de>
- add sle15_python_module_pythons
-------------------------------------------------------------------
Wed Jul 28 19:42:17 UTC 2021 - Matej Cepl <mcepl@suse.com>
- Update to 2.2.0:
- #45: num_regression.check now accepts any object that can be coerced
to a 1d numpy array with numeric dtype (e.g. list, tuple, etc).
- #35: New dataframe_regression fixture to check pandas DataFrames
directly.
- #34: Fix data_regression bug that creates empty file on serializing
error.
- Add np_num-deprecated.patch to avoid tests failing on using deprecated
data types (gh#ESSS/pytest-regressions#63).
-------------------------------------------------------------------
Thu Aug 20 06:26:22 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v2.0.1