Fix ICU tests on alpine / macOS. (#15177)

The word boundary behaviour is slightly different, consider it
acceptable for the tests.
This commit is contained in:
6543 2023-03-03 15:22:06 +01:00 committed by GitHub
parent 02f74f3a99
commit 6b6e91e610
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

1
changelog.d/15177.bugfix Normal file
View file

@ -0,0 +1 @@
Fix test_icu_word_boundary_punctuation for alpine / macos installed ICU versions.

View file

@ -696,6 +696,8 @@ class UserDirectoryICUTestCase(HomeserverTestCase):
["lazy'fox", "jumped", "over", "the", "dog"],
# ICU 70 on Ubuntu 22.04
["lazy'fox", "jumped:over", "the.dog"],
# pyicu 2.10.2 on Alpine edge / macOS
["lazy'fox", "jumped", "over", "the.dog"],
),
)