OpenBSD ports

The devel/py-test-arraydiff port

py3-test-arraydiff-0.6.1p3 – pytest plugin to generate/compare data arrays

Description

This is a py.test plugin to facilitate the generation and comparison
of data arrays produced during tests, in particular in cases where the
arrays are too large to conveniently hard-code them in the tests (e.g.
np.testing.assert_allclose(x, [1, 2, 3])).

The basic idea is that you can write a test that generates a Numpy
array (or other related objects depending on the format, e.g. pandas
DataFrame). You can then either run the tests in a mode to generate
reference files from the arrays, or you can run the tests in comparison
mode, which will compare the results of the tests to the reference ones
within some tolerance.

WWW: https://github.com/astropy/pytest-arraydiff
Only for arches
aarch64 aarch64 alpha amd64 amd64 arm arm hppa i386 i386 mips64 mips64 mips64el mips64el powerpc powerpc powerpc64 powerpc64 riscv64 riscv64 sparc64
Categories:
devel lang/python

Library dependencies

Build dependencies

Run dependencies