py3-test-arraydiff-0.6.1p3
pytest plugin to generate/compare data arrays
Back to search · Project homepage
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.
Package information
- Ports path
- devel/py-test-arraydiff
- Package architecture
- amd64
- Maintainer
- The OpenBSD ports mailing-list <ports@openbsd.org>
- Categories
- devel, lang/python
- Available flavors
- None listed
- Only for architectures
- aarch64, amd64, arm, i386, mips64, mips64el, powerpc, powerpc64, riscv64, sparc64, alpha, hppa
These are ports metadata. Binary availability depends on the release, architecture and mirror. Build and test dependencies are not an installation checklist.
Direct dependencies
Runtime
Build
- lang/python/3
- devel/py-build
- devel/py-installer
- devel/py-setuptools py3-setuptools->=79v0
- devel/py-wheel
- devel/py-setuptools_scm
Test
- devel/py-test-arraydiff py3-test-arraydiff-0.6.1p3
- astro/py-astropy
- devel/py-test
- math/py-numpy
- lang/python/3
Used by (2 dependency relationships)
Includes library, runtime, build and test relationships. Results load 100 at a time.