File tree 1 file changed +4
-8
lines changed
1 file changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -376,24 +376,20 @@ def unique_nulls_fixture(request):
376
376
FixedOffset (0 ), FixedOffset (- 300 ), timezone .utc ,
377
377
timezone (timedelta (hours = 1 )),
378
378
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 ]
381
379
382
380
383
- @td .parametrize_fixture_doc (str (TIMEZONE_IDS ))
384
- @pytest .fixture (params = TIMEZONES , ids = TIMEZONE_IDS )
381
+ @pytest .fixture (params = TIMEZONES , ids = repr )
385
382
def tz_naive_fixture (request ):
386
383
"""
387
- Fixture for trying timezones including default (None): {0}
384
+ Fixture for trying timezones including default (None)
388
385
"""
389
386
return request .param
390
387
391
388
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 )
394
390
def tz_aware_fixture (request ):
395
391
"""
396
- Fixture for trying explicit timezones: {0}
392
+ Fixture for trying explicit timezones
397
393
"""
398
394
return request .param
399
395
You can’t perform that action at this time.
0 commit comments