Skip to content

Commit d51f7e2

Browse files
committed
CLN: Condense TIMEZONE ID labeling
Follow-up to pandas-devgh-26596
1 parent 891a419 commit d51f7e2

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

pandas/conftest.py

+1-6
Original file line numberDiff line numberDiff line change
@@ -378,12 +378,7 @@ def unique_nulls_fixture(request):
378378
FixedOffset(0), FixedOffset(-300), timezone.utc,
379379
timezone(timedelta(hours=1)),
380380
timezone(timedelta(hours=-1), name='foo')]
381-
TIMEZONE_IDS = ['None', 'UTC', 'US/Eastern', 'Asia/Tokyp',
382-
'dateutil/US/Pacific', 'dateutil/Asia/Singapore',
383-
'dateutil.tz.tzutz()', 'dateutil.tz.tzlocal()',
384-
'pytz.FixedOffset(300)', 'pytz.FixedOffset(0)',
385-
'pytz.FixedOffset(-300)', 'datetime.timezone.utc',
386-
'datetime.timezone.+1', 'datetime.timezone.-1.named']
381+
TIMEZONE_IDS = [repr(i) for i in TIMEZONES]
387382

388383

389384
@td.parametrize_fixture_doc(str(TIMEZONE_IDS))

0 commit comments

Comments
 (0)