1 test fails: tests/test_market_calendar.py:1155: AssertionError
yurivict opened this issue · 4 comments
yurivict commented
========================================================================================== FAILURES ===========================================================================================
___________________________________________________________________________________ test_basic_information ____________________________________________________________________________________
def test_basic_information():
assert mcal_iepa._EC_NOT_INITIALIZED
assert mcal_iepa.tz == timezone("America/New_York") == ecal_iepa.tz
assert mcal_iepa.open_offset == -1 == ecal_iepa.open_offset
assert mcal_iepa.open_time == time(20)
assert mcal_iepa.close_time == time(18)
> assert test_cal._EC_NOT_INITIALIZED
E assert False
E + where False = <pandas_market_calendars.class_registry.TestExchangeCalendar object at 0x9172be910>._EC_NOT_INITIALIZED
tests/test_market_calendar.py:1155: AssertionError
========================================================================= 1 failed, 1389 passed in 1240.55s (0:20:40) =========================================================================
*** Error code 1
Version: 4.3.1
Python-3.9
FreeBSD 13.2
rsheftel commented
What version of pandas are you using?
yurivict commented
2.0.3
RamXX commented
I had to force pandas==1.5.3 to avoid errors. I'm not sure this is currently compatible with 2.0.
rsheftel commented
Need to work on making this work for pandas>=2.0, please use <2.0 for now