We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7bf3b95 commit 4e9ebe5Copy full SHA for 4e9ebe5
tests/test_ICU.py
@@ -16,7 +16,10 @@
16
icu_data_folders = ICU_DATA_FOLDERS_WINDOWS
17
18
19
+ICU_TEST_SKIP = os.name in ("nt", ) and os.getenv('PROGRAMDATA') is None
20
+
21
class TestICU(unittest.TestCase):
22
+ @pytest.mark.skipif(ICU_TEST_SKIP, reason = "ICU data file not available")
23
def testIcu(self):
24
icu_paths = (os.path.join(folder, "icudtl.dat") for folder in icu_data_folders)
25
self.assertTrue(any(os.path.exists(icu) for icu in icu_paths))
0 commit comments