Skip to content

Commit 7b80d4d

Browse files
ginggsjreback
authored andcommitted
Drop redundant TestLocale (#22349)
1 parent 6bcfc46 commit 7b80d4d

File tree

2 files changed

+1
-12
lines changed

2 files changed

+1
-12
lines changed

pandas/tests/util/test_testing.py

-12
Original file line numberDiff line numberDiff line change
@@ -848,18 +848,6 @@ def test_RNGContext(self):
848848
assert np.random.randn() == expected0
849849

850850

851-
class TestLocale(object):
852-
853-
def test_locale(self):
854-
if sys.platform == 'win32':
855-
pytest.skip(
856-
"skipping on win platforms as locale not available")
857-
858-
# GH9744
859-
locales = tm.get_locales()
860-
assert len(locales) >= 1
861-
862-
863851
def test_datapath_missing(datapath, request):
864852
if not request.config.getoption("--strict-data-files"):
865853
pytest.skip("Need to set '--strict-data-files'")

pandas/tests/util/test_util.py

+1
Original file line numberDiff line numberDiff line change
@@ -455,6 +455,7 @@ def mockgetlocale():
455455

456456
def test_get_locales(self):
457457
# all systems should have at least a single locale
458+
# GH9744
458459
assert len(tm.get_locales()) > 0
459460

460461
def test_get_locales_prefix(self):

0 commit comments

Comments
 (0)