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

Improve parametrized test names in HTML summaries #165

Merged
merged 2 commits into from Jun 14, 2022

Conversation

ConorMacBride
Copy link
Member

This is a bugfix PR which only affects the HTML summaries. The following bugs are fixed:

  • Fix bug with splitting parametrized test name
    "a.b.test_c[x.y]" should give ("a.b", "test_c[x.y]") and not ("a.b.test_c[x", "y]")

  • urlencode image URLs
    The images are path safe but not URL safe. Parametrized tests can include characters such as "" or "?" in their name which can lead to 404 errors in the HTML summary report.

"a.b.test_c[x.y]" should give ("a.b", "test_c[x.y]") and not ("a.b.test_c[x", "y]")
The images are path safe but not URL safe. Parametrized tests can include characters such as "\" or "?" in their name which can lead to 404 errors in the HTML summary report.
@Cadair Cadair merged commit b06a22c into matplotlib:main Jun 14, 2022
@ConorMacBride ConorMacBride deleted the improve-html-test-names branch February 28, 2023 19:18
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 this pull request may close these issues.

None yet

2 participants