diff --git a/pandas/tests/util/test_testing.py b/pandas/tests/util/test_testing.py index dee01ab6efff6..da84973274933 100644 --- a/pandas/tests/util/test_testing.py +++ b/pandas/tests/util/test_testing.py @@ -848,18 +848,6 @@ def test_RNGContext(self): assert np.random.randn() == expected0 -class TestLocale(object): - - def test_locale(self): - if sys.platform == 'win32': - pytest.skip( - "skipping on win platforms as locale not available") - - # GH9744 - locales = tm.get_locales() - assert len(locales) >= 1 - - def test_datapath_missing(datapath, request): if not request.config.getoption("--strict-data-files"): pytest.skip("Need to set '--strict-data-files'") diff --git a/pandas/tests/util/test_util.py b/pandas/tests/util/test_util.py index c049dfc874940..6552655110557 100644 --- a/pandas/tests/util/test_util.py +++ b/pandas/tests/util/test_util.py @@ -455,6 +455,7 @@ def mockgetlocale(): def test_get_locales(self): # all systems should have at least a single locale + # GH9744 assert len(tm.get_locales()) > 0 def test_get_locales_prefix(self):