Skip to content

Conversation

wholmgren
Copy link
Member

The recently released pandas 0.18.1 changed the way that pd.to_datetime handles fractions of seconds, which caused the test_get_sun_rise_set_transit function to fail since the expected times were specified to microseconds. This PR changes the expected times only have 1 second precision, and rounds the output of get_sun_rise_set_transit for the test. The problem is that the Timestamp rounding doesn't work on pandas 0.13-0.16. I don't want to raise the version requirements just for this test, so it gets a skip decorator instead. It's a bad hack that I'll try to revisit after the workshop.

@wholmgren wholmgren added this to the 0.3.3 milestone May 9, 2016
@wholmgren wholmgren merged commit 7e03bec into pvlib:master May 9, 2016
@wholmgren wholmgren deleted the sunriseset branch May 20, 2016 18:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant