Skip to content

tests/test_general.py: fix expected svg output in test_3569 from MuPD…#4642

Merged
sebras merged 1 commit into
pymupdf:mainfrom
sebras:main
Aug 7, 2025
Merged

tests/test_general.py: fix expected svg output in test_3569 from MuPD…#4642
sebras merged 1 commit into
pymupdf:mainfrom
sebras:main

Conversation

@sebras
Copy link
Copy Markdown
Collaborator

@sebras sebras commented Aug 5, 2025

…F 1.27.x.

Copy link
Copy Markdown
Collaborator

@julian-smith-artifex-com julian-smith-artifex-com left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this test now fail with the 1.26.x branch?

@sebras
Copy link
Copy Markdown
Collaborator Author

sebras commented Aug 5, 2025

Does this test now fail with the 1.26.x branch?

d'oh! yes, of course it will. that's not a good patch!

@sebras
Copy link
Copy Markdown
Collaborator Author

sebras commented Aug 5, 2025

Ok, that's better. I could separate out the prefix and suffix strings that are identical, but that code would be more complicated and susceptible to mistakes. These version dependent tests usually just duplicate the strings with the necessary differences, so that's what I opted for.

@sebras sebras merged commit 96aa68c into pymupdf:main Aug 7, 2025
2 checks passed
@github-actions github-actions Bot locked and limited conversation to collaborators Aug 7, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants