-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Remove weird comment in parse_dates.py #22418
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
Remove weird comment in parse_dates.py #22418
Conversation
Was added back in pandas-devgh-12915...not sure why.
Codecov Report
@@ Coverage Diff @@
## master #22418 +/- ##
=======================================
Coverage 92.05% 92.05%
=======================================
Files 169 169
Lines 50713 50713
=======================================
Hits 46683 46683
Misses 4030 4030
Continue to review full report at Codecov.
|
@@ -365,7 +365,7 @@ def test_parse_tz_aware(self): | |||
assert stamp.minute == 39 | |||
try: | |||
assert result.index.tz is pytz.utc | |||
except AssertionError: # hello Yaroslav | |||
except AssertionError: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually why do we have an assertion error check here at all?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure...that code is at least 2 years old.
I imagine that pytz
compatibility has improved since then...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can u try to remove this and see
Was added back in pandas-devgh-12915...not sure why.
Was added back in #12915...not sure why I did that. 😕