Skip to content

Commit

Permalink
modify pytest param for appvoyer
Browse files Browse the repository at this point in the history
  • Loading branch information
mroeschke committed Feb 28, 2018
1 parent cf666e6 commit 006ac9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pandas/tests/indexes/datetimes/test_misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -242,8 +242,8 @@ def test_datetimeindex_accessors(self):
assert [d.weekofyear for d in dates] == expected

# GH 12806
@pytest.mark.skipif(not tm.get_locales(), reason='No available locales')
@pytest.mark.parametrize('time_locale', tm.get_locales() + [None])
@pytest.mark.parametrize('time_locale', [
None] if tm.get_locales() is None else [None] + tm.get_locales())
def test_datetime_name_accessors(self, time_locale):
# Test Monday -> Sunday and January -> December, in that sequence
if time_locale is None:
Expand Down

0 comments on commit 006ac9e

Please sign in to comment.