Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various test failures with 0.17.0 #225

Open
mweinelt opened this issue Mar 18, 2024 · 0 comments · May be fixed by #234
Open

Various test failures with 0.17.0 #225

mweinelt opened this issue Mar 18, 2024 · 0 comments · May be fixed by #234

Comments

@mweinelt
Copy link

mweinelt commented Mar 18, 2024

Hi, thanks for maintaining pytest-mpl.

On nixpkgs we are seeing a few test failures after upgrading from 0.16.1 to 0.17.0

pytest-mpl> FAILED tests/test_baseline_path.py::test_config[dir1-None-None-dir1-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_baseline_path.py::test_config[dir1-dir2-None-dir2-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_baseline_path.py::test_config[dir1-dir2-dir3-dir3-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_baseline_path.py::test_config[None-None-dir3-dir3-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_pytest_mpl.py::test_formats[png-True-False] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_results_always.py::test_config[None-None-False] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_results_always.py::test_config[True-None-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_results_always.py::test_config[False-None-False] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_results_always.py::test_config[False-True-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_results_always.py::test_config[True-True-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_use_full_test_name.py::test_config[None-None-test_mpl-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_use_full_test_name.py::test_config[False-None-test_mpl-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_use_full_test_name.py::test_config[True-None-test_config.TestClass.test_mpl-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_use_full_test_name.py::test_config[False-True-test_config.TestClass.test_mpl-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...
pytest-mpl> FAILED tests/test_use_full_test_name.py::test_config[None-True-test_config.TestClass.test_mpl-True] - AssertionError: assert {'passed': 0, 'skipped': 0, 'failed': 1, 'errors': 0...

Our dependencies are:

  • matplotlib 3.8.3
  • pillow 10.2.0
  • jinja2 3.1.3
  • pytest 8.0.2

Full test log: https://gist.github.com/mweinelt/bb668e03a56ba4f86cfc4b1bfe7c0294

mweinelt added a commit to NixOS/nixpkgs that referenced this issue Mar 18, 2024
This reverts commit e336389.

Fails various tests, reported at matplotlib/pytest-mpl#225.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant