From 0c9c77b654075b2418c6f7ec574e09b5c4bebe18 Mon Sep 17 00:00:00 2001 From: Yen Chi Hsuan Date: Sun, 17 Jan 2016 18:00:46 +0800 Subject: [PATCH] [test_i18n] Skip LC_ALL test on Windows --- test/test_i18n.py | 1 + 1 file changed, 1 insertion(+) diff --git a/test/test_i18n.py b/test/test_i18n.py index a0a488db5..28c98e76c 100644 --- a/test/test_i18n.py +++ b/test/test_i18n.py @@ -65,6 +65,7 @@ class I18NTestCase(object): self.assertEqual(output_with_lang_opt('en_US.UTF-8'), 'I18N test message') self.assertEqual(output_with_lang_opt('zh_TW.UTF-8'), 'I18N測試訊息') + @unittest.skipIf(sys.platform.startswith('win'), 'LC_ALL not applicable on Windows') def test_lc_all(self): def output_with_lc_all(lang): return subprocess_check_output([