diff options
author | 6543 <6543@obermui.de> | 2023-03-03 15:22:06 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-03 14:22:06 +0000 |
commit | 6b6e91e6106e84c391c9635fc830aa6081119c71 (patch) | |
tree | 78a7e30b6613805efc4c54662b14ec2f352e8bc1 | |
parent | Combine AbstractStreamIdTracker and AbstractStreamIdGenerator. (#15192) (diff) | |
download | synapse-6b6e91e6106e84c391c9635fc830aa6081119c71.tar.xz |
Fix ICU tests on alpine / macOS. (#15177)
The word boundary behaviour is slightly different, consider it acceptable for the tests.
-rw-r--r-- | changelog.d/15177.bugfix | 1 | ||||
-rw-r--r-- | tests/storage/test_user_directory.py | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/changelog.d/15177.bugfix b/changelog.d/15177.bugfix new file mode 100644 index 0000000000..b9764947eb --- /dev/null +++ b/changelog.d/15177.bugfix @@ -0,0 +1 @@ +Fix test_icu_word_boundary_punctuation for alpine / macos installed ICU versions. diff --git a/tests/storage/test_user_directory.py b/tests/storage/test_user_directory.py index 43b724c4dd..8c72aa1722 100644 --- a/tests/storage/test_user_directory.py +++ b/tests/storage/test_user_directory.py @@ -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"], ), ) |