Skip to content

BUG: is_utc(dateutil_utc) #39276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jan 21, 2021
Merged

BUG: is_utc(dateutil_utc) #39276

merged 4 commits into from
Jan 21, 2021

Conversation

jbrockmendel
Copy link
Member

@jbrockmendel jbrockmendel commented Jan 19, 2021

  • closes #xxxx
  • tests added / passed
  • Ensure all linting tests pass, see here for how to run them
  • whatsnew entry

@@ -1023,6 +1023,9 @@ def utc_fixture(request):
return request.param


utc_fixture2 = utc_fixture
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we need this 2nd fixture here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

good catch, wont be needed until both this and the tz_compare PR are in

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove this?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added the extra test below since the other PR got merged

@@ -30,11 +30,18 @@ from pandas._libs.tslibs.util cimport get_nat, is_integer_object
cdef int64_t NPY_NAT = get_nat()
cdef tzinfo utc_stdlib = timezone.utc
cdef tzinfo utc_pytz = UTC
cdef tzinfo utc_dateutil1 = dateutil_gettz("UTC") # NB: *not* the same as tzutc()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe utc_dateutil_str

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated + greenish

@jbrockmendel jbrockmendel added Bug Timezones Timezone data dtype labels Jan 19, 2021
@jreback jreback added this to the 1.3 milestone Jan 20, 2021
@jreback
Copy link
Contributor

jreback commented Jan 20, 2021

can you also add a whatsnew note

@jbrockmendel
Copy link
Member Author

can you also add a whatsnew note

updated+green

@jbrockmendel
Copy link
Member Author

odd why the 32-bit build failed

yah ive been seeing that occasionally recently, havent figured out whats going on there

rebased + green

@jreback jreback merged commit 830b408 into pandas-dev:master Jan 21, 2021
@jbrockmendel jbrockmendel deleted the bug-is_utc branch January 21, 2021 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Timezones Timezone data dtype
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants