The devel/py-test-arraydiff,python3 port
py3-test-arraydiff-0.6.1p0 – pytest plugin to generate/compare data arrays (cvsweb github mirror)
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
Maintainer
The OpenBSD ports mailing-list
Categories
Build dependencies
Run dependencies
Test dependencies
Files
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/LICENSE
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/METADATA
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/RECORD
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/WHEEL
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/entry_points.txt
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff-0.6.1.dist-info/top_level.txt
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__init__.py
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/__init__.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/__init__.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/plugin.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/plugin.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/version.cpython-311.opt-1.pyc
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/__pycache__/version.cpython-311.pyc
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/plugin.py
- /usr/local/lib/python3.11/site-packages/pytest_arraydiff/version.py