Wed, 25 Nov 2026 01:43:53 UTC Log in
Pytest plugin to help with comparing array output from tests 47.40 KB built 2026-11-25 01:02:26 GMT

Description

This is a py.test plugin to facilitate the generation and comparison of data arrays produced during tests. The basic idea is that you can write a test that generates a Numpy array (or other related objects depending on the format). 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. At the moment, the supported file formats for the reference files are: * A plain text-based format (baed on Numpy loadtxt output) * The FITS format (requires astropy). With this format, tests can return either a Numpy array for a FITS HDU object.

Dependencies

17 total
Requires16
  • (python3dist(tomli) if python3-devel < 3.11)
  • pyproject-rpm-macros
  • python3-devel
  • python3-devel
  • python3dist(astropy)
  • python3dist(numpy)
  • python3dist(packaging)
  • python3dist(pandas)
  • python3dist(pip) >= 19
  • python3dist(pytest) >= 6.2
  • python3dist(setuptools) >= 77.0.1
  • python3dist(setuptools-scm)
  • rpmlib(CompressedFileNames) <= 3.0.4-1
  • rpmlib(DynamicBuildRequires) <= 4.15.0-1
  • rpmlib(FileDigests) <= 4.6.0-1
  • rpmlib(RichDependencies) <= 4.12.0-1
Provides1
  • python3-pytest-arraydiff = 0.7.0-1.fc45
ObsoletesNo Obsoletes
ConflictsNo Conflicts
RecommendsNo Recommends
SuggestsNo Suggests
SupplementsNo Supplements
EnhancesNo Enhances

Files

2
Files 1–2 of 2

Component of

buildroots that installed this RPM

No Buildroots