Skip to content

Clear image link regex cache for test_clean#1622

Merged
kristian-clausal merged 1 commit into
tatuylonen:masterfrom
Darkdadaah:fix_regex_test
Apr 13, 2026
Merged

Clear image link regex cache for test_clean#1622
kristian-clausal merged 1 commit into
tatuylonen:masterfrom
Darkdadaah:fix_regex_test

Conversation

@Darkdadaah
Copy link
Copy Markdown

Because test_clean.py usually runs before the other language specific tests (by alphabetical chance) it implicitly does not reset its image link regex.
Switch the order of the tests, and test_clean fails.

This fix clears the cache to ensure the tests run from a clean slate.

Because test_clean.py usually runs before the other language specific tests
(by alphabetical chance) it implicitly does not reset its image link regex.
switch the order of the tests, and test_clean fails.

This fix clears the cache to ensure the tests run from a clean slate.
@kristian-clausal
Copy link
Copy Markdown
Collaborator

Thanks for catching this!

@kristian-clausal kristian-clausal merged commit c7413e7 into tatuylonen:master Apr 13, 2026
5 checks passed
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.

2 participants