summaryrefslogtreecommitdiff
blob: ab1fed8dc7f1ba414133a2859d2f10d99af69cfd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- a/test/test_LocaleMatcher.py
+++ b/test/test_LocaleMatcher.py
@@ -21,11 +21,13 @@
 # DEALINGS IN THE SOFTWARE.
 # ====================================================================
 
-import sys, os, six
+import sys, os, six, pytest
 
 from unittest import TestCase, main
 from icu import *
 
+@pytest.mark.skipif(ICU_VERSION < '65.0',
+                    reason='ICU too old for LocaleMatcher support')
 class TestLocaleMatcher(TestCase):
 
     def testSetSupportedLocales(self):