- #132: Add documentation for specifying custom data directories.
- Dropped support for EOL Python 3.6 and Python 3.7.
- Added support for Python 3.11.
- #137: (Bugfix) Make
dataframe_regression
compatible with classes inheriting frompandas.DataFrame
.
- #119: (Bugfix) 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.
- #84: (Bugfix) Properly handle empty and NaN values on num_regression and dataframe_regression.
- #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: New
ndarrays_regression
, for comparing NumPy arrays with arbitrary shape. - #74: Fix
empty string bug
on dataframe regression.
- #45:
num_regression.check
now accepts any object that can be coerced to a 1dnumpy
array with numericdtype
(e.g. list, tuple, etc).
- #35: New
dataframe_regression
fixture to check pandas DataFrames directly.
Note: 2.1.0 was not deployed due to a CI error.
- #34: Fix
data_regression
bug that creates empty file on serializing error.
- #28: Fix
num_regression
bug when comparing numpy shapes.
- Drop support for Python 2.7 and 3.5.
- #18: When using
fill_different_shape_with_nan=True
, a properTypeError
will be raised for non-float arrays instead of filling integer arrays with "garbage". - #22: Fix warning when comparing arrays of boolean values.
- #15: Remove some extra line separators from the diff output, which makes the representation more compact.
- Fixed
DeprecationWarning: invalid escape sequence \W
.
- Set
pandas
display.max_columns
option innum_regression
to preventpandas
from truncating the output (#3).
- Hide traceback of internal functions when displaying failures.
- Fixed some development dependencies being declared as runtime dependencies.
- Introduce
image_regression
fixture.
- Initial release.