Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@pyup-bot
Copy link
Collaborator

This PR updates pytest-regressions from 2.0.0 to 2.5.0.

Changelog

2.5.0

------------------

* Dropped support for EOL Python 3.6 and Python 3.7.
* Added support for Python 3.11.

2.4.3

------------------

* `137 <https://github.com/ESSS/pytest-regressions/pull/137>`__: (Bugfix) Make ``dataframe_regression`` compatible with classes inheriting from ``pandas.DataFrame``.

2.4.2

------------------

* `119 <https://github.com/ESSS/pytest-regressions/pull/119>`__: (Bugfix) Properly handle missing index ``0``.

2.4.1

------------------

* Compatibility fix for pytest 6.2.

2.4.0

------------------

* 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.

2.3.1

------------------

* `84 <https://github.com/ESSS/pytest-regressions/pull/84>`__: (Bugfix) Properly handle empty and NaN values on num_regression and dataframe_regression.

2.3.0

------------------

* `54 <https://github.com/ESSS/pytest-regressions/pull/54>`__: 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.
* `72 <https://github.com/ESSS/pytest-regressions/pull/72>`__: New ``ndarrays_regression``, for comparing NumPy arrays with arbitrary shape.
* `74 <https://github.com/ESSS/pytest-regressions/pull/74>`__: Fix ``empty string bug`` on dataframe regression.

2.2.0

------------------

* `45 <https://github.com/ESSS/pytest-regressions/pull/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).

2.1.1

------------------

* `35 <https://github.com/ESSS/pytest-regressions/pull/35>`__: New ``dataframe_regression`` fixture to check pandas DataFrames directly.

Note: `2.1.0` was not deployed due to a CI error.

2.0.2

------------------

* `34 <https://github.com/ESSS/pytest-regressions/pull/34>`__: Fix ``data_regression`` bug that creates empty file on serializing error.

2.0.1

------------------

* `28 <https://github.com/ESSS/pytest-regressions/pull/28>`__: Fix ``num_regression`` bug when comparing numpy shapes.
Links

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants