Skip to content

Test Failures Encountered When Running Pytest in Astropy Development Version #15788

@tanvincible

Description

@tanvincible

Description

While testing the Astropy Development Version, some tests failed running Pytest.

Expected behavior

All the tests should have passed or otherwise xfailed.

How to Reproduce

  1. Setup Astropy Development Version as stated here.

  2. Then run the following command:

    pip install -e ".[test]"
  3. The test completes with FAILURES.

======================================================================== short test summary info ========================================================================
FAILED astropy/coordinates/tests/test_representation.py::TestCartesianRepresentation::test_transform_non_contiguous_matrix - assert False
FAILED astropy/visualization/tests/test_units.py::test_units - ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled
FAILED astropy/visualization/wcsaxes/tests/test_display_world_coordinates.py::TestDisplayWorldCoordinate::test_cube_coords - ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled
FAILED astropy/visualization/wcsaxes/tests/test_display_world_coordinates.py::TestDisplayWorldCoordinate::test_cube_coords_uncorr_slicing - ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled
FAILED astropy/visualization/wcsaxes/tests/test_misc.py::test_slicing_warnings - ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled
FAILED astropy/visualization/wcsaxes/tests/test_misc.py::test_grid_type_contours_transform - ValueError: Failed to find font DejaVu Sans:style=normal:variant=normal:weight=normal:stretch=normal:size=10.0, and fallback to the default font was disabled
FAILED astropy/visualization/wcsaxes/tests/test_misc.py::test_bbox_size[0.2] - assert False
FAILED astropy/visualization/wcsaxes/tests/test_misc.py::test_bbox_size[1e-08] - assert False
================================================= 8 failed, 28248 passed, 317 skipped, 246 xfailed in 874.83s (0:14:34) =================================================

Versions

Windows-10-10.0.22631-SP0
Python 3.11.5 | packaged by Anaconda, Inc. | (main, Sep 11 2023, 13:26:23) [MSC v.1916 64 bit (AMD64)]
astropy 6.1.dev238+gf5909190d5
Numpy 1.24.3
pyerfa 2.0.0
Scipy 1.11.1
Matplotlib 3.8.2

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions