File tree Expand file tree Collapse file tree 1 file changed +4
-8
lines changed
Expand file tree Collapse file tree 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):
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 )
385382def 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 )
394390def tz_aware_fixture (request ):
395391 """
396- Fixture for trying explicit timezones: {0}
392+ Fixture for trying explicit timezones
397393 """
398394 return request .param
399395
You can’t perform that action at this time.
0 commit comments