Skip to content

Commit 21d4288

Browse files
committed
TST: skip testing locales on win32, xref GH9845
1 parent 39f1dec commit 21d4288

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

pandas/tests/test_util.py

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
import nose
55

6+
import sys
67
import pandas.util
78
from pandas.util.decorators import deprecate_kwarg
89
import pandas.util.testing as tm
@@ -80,6 +81,9 @@ def test_warning(self):
8081
self.assertNotAlmostEquals(1, 2)
8182

8283
def test_locale(self):
84+
if sys.platform == 'win32':
85+
raise nose.SkipTest("skipping on win platforms as locale not available")
86+
8387
#GH9744
8488
locales = pandas.util.testing.get_locales()
8589
self.assertTrue(len(locales) >= 1)

0 commit comments

Comments
 (0)