Skip to content

Commit ebf7069

Browse files
committed
CLN: Remove TIMEZONE_IDS altogether
1 parent fc3400e commit ebf7069

File tree

1 file changed

+4
-8
lines changed

1 file changed

+4
-8
lines changed

pandas/conftest.py

+4-8
Original file line numberDiff line numberDiff line change
@@ -376,24 +376,20 @@ def unique_nulls_fixture(request):
376376
FixedOffset(0), FixedOffset(-300), timezone.utc,
377377
timezone(timedelta(hours=1)),
378378
timezone(timedelta(hours=-1), name='foo')]
379-
TIMEZONE_IDS = [str(i) if not i or isinstance(i, str)
380-
else repr(i) for i in TIMEZONES]
381379

382380

383-
@td.parametrize_fixture_doc(str(TIMEZONE_IDS))
384-
@pytest.fixture(params=TIMEZONES, ids=TIMEZONE_IDS)
381+
@pytest.fixture(params=TIMEZONES, ids=repr)
385382
def tz_naive_fixture(request):
386383
"""
387-
Fixture for trying timezones including default (None): {0}
384+
Fixture for trying timezones including default (None)
388385
"""
389386
return request.param
390387

391388

392-
@td.parametrize_fixture_doc(str(TIMEZONE_IDS[1:]))
393-
@pytest.fixture(params=TIMEZONES[1:], ids=TIMEZONE_IDS[1:])
389+
@pytest.fixture(params=TIMEZONES[1:], ids=repr)
394390
def tz_aware_fixture(request):
395391
"""
396-
Fixture for trying explicit timezones: {0}
392+
Fixture for trying explicit timezones
397393
"""
398394
return request.param
399395

0 commit comments

Comments
 (0)