Skip to content

Commit

Permalink
Drop redundant TestLocale (#22349)
Browse files Browse the repository at this point in the history
  • Loading branch information
ginggs authored and jreback committed Aug 16, 2018
1 parent 6bcfc46 commit 7b80d4d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 12 deletions.
12 changes: 0 additions & 12 deletions pandas/tests/util/test_testing.py
Original file line number Diff line number Diff line change
Expand Up @@ -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'")
Expand Down
1 change: 1 addition & 0 deletions pandas/tests/util/test_util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 7b80d4d

Please sign in to comment.