question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

mpldev tests failing

See original GitHub issue

The mpldev tests on CircleCI are failing since Friday. See e.g.: https://app.circleci.com/pipelines/github/astropy/astropy/5881/workflows/f87702cb-4e75-4034-a182-33103ed419d9/jobs/90237

It doesn’t seem related to any existing known issues. I guess something that changed in matplotlib itself. No crash, just some images that are different, apparently.

I’ll look into it if I have time but probably not today.

EDIT: Added more info below

Looks like it started on 2021-06-11 with Matplotlib: 3.5.0.dev1037+g3cf46cb.

FAILED .../astropy/visualization/wcsaxes/tests/test_images.py::TestBasic::test_curvilinear_grid_patches_image
FAILED .../astropy/visualization/wcsaxes/tests/test_images.py::TestBasic::test_tick_angles
FAILED .../astropy/visualization/wcsaxes/tests/test_images.py::TestBasic::test_tick_angles_non_square_axes
FAILED .../astropy/visualization/wcsaxes/tests/test_transform_coord_meta.py::TestTransformCoordMeta::test_coords_overlay
FAILED .../astropy/visualization/wcsaxes/tests/test_transform_coord_meta.py::TestTransformCoordMeta::test_coords_overlay_auto_coord_meta
FAILED .../astropy/visualization/wcsaxes/tests/test_transform_coord_meta.py::TestTransformCoordMeta::test_direct_init

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
pllimcommented, Jun 14, 2021

Looking at https://github.com/matplotlib/matplotlib/commits/master , a number of PRs were merged that same day. Hard to tell which one was the culprit without a bisect.

Bad: matplotlib/matplotlib@3cf46cb

Good: matplotlib/matplotlib@f4c518e

0reactions
pllimcommented, Nov 18, 2021

I think this was already fixed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

TST: Patch failing tests caused by mpl-dev · astropy/astropy ... - GitHub
TST: Patch failing tests caused by mpl-dev · Run details · Usage · Workflow file.
Read more >
Error when running unit test: Failed to load ApplicationContext
Hi, I am getting errors when running a basic unit test in a test class that extends the BaseModuleContextSensitiveTest class. Here's the error...
Read more >
pytest-mpl - PyPI
By default, result images are only saved for tests that fail. Passing --mpl-results-always to pytest will force result images to be saved for...
Read more >
boost unit test cartesian product of mpl list - c++ - Stack Overflow
but it seems like you can only have one mpl list when using _TEMPLATE for a boost test case. Is there a way...
Read more >
Running and writing tests — HyperSpy 1.7.3 documentation
Test functions can sometimes exhibit intermittent or sporadic failure, with seemingly random or non-deterministic behaviour. They may sometimes pass or ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found