zach401 / acnportal

Research tools for the Adaptive Charging Network
BSD 3-Clause "New" or "Revised" License
75 stars 32 forks source link

Update test_current.py for Pandas 1.1.0 #71

Closed zach401 closed 4 years ago

zach401 commented 4 years ago

Tests started failing on Travis.

We found that the newest version of Pandas (1.1.0) checks that series type (class) which fails since Current is a subclass of Series. (https://pandas.pydata.org/docs/reference/api/pandas.testing.assert_series_equal.html)

Fixed by adding check_series_type=False for all tests.