forked from pandas-dev/pandas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Moved timezones and offset_types to conftest (pandas-dev#17825)
- Loading branch information
1 parent
54eb7a1
commit f7878b4
Showing
2 changed files
with
105 additions
and
108 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import pytest | ||
import pandas.tseries.offsets as offsets | ||
|
||
|
||
@pytest.fixture(params=[getattr(offsets, o) for o in offsets.__all__]) | ||
def offset_types(request): | ||
return request.param | ||
|
||
|
||
@pytest.fixture(params=[None, 'UTC', 'Asia/Tokyo', 'US/Eastern', | ||
'dateutil/Asia/Tokyo', 'dateutil/US/Pacific']) | ||
def tz(request): | ||
return request.param |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters