test failure foreign with pandas 0.7.3 #611

Closed
josef-pkt opened this Issue Jan 8, 2013 · 1 comment

Projects

None yet

1 participant

@josef-pkt
Member

running the test suite with pandas 0.7.3 I saw these failures

changes in iolib.foreign are from October, so I don't know why I haven't seen this before

======================================================================
ERROR: statsmodels.iolib.tests.test_foreign.test_genfromdta_datetime
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py", line 187, in runTest
    self.test(*self.arg)
  File "e:\josef\eclipsegworkspace\statsmodels-git\statsmodels-all-new\statsmodels\statsmodels\iolib\tests\test_foreign.py", line 116, in test_genfromdta_datetime
    pandas=True)
  File "e:\josef\eclipsegworkspace\statsmodels-git\statsmodels-all-new\statsmodels\statsmodels\iolib\foreign.py", line 1054, in genfromdta
    args=(fmtlist[i],))
TypeError: apply() got an unexpected keyword argument 'args'

======================================================================
ERROR: statsmodels.iolib.tests.test_foreign.test_datetime_roundtrip
----------------------------------------------------------------------
Traceback (most recent call last):
  File "c:\python26\lib\site-packages\nose-1.0.0-py2.6.egg\nose\case.py", line 187, in runTest
    self.test(*self.arg)
  File "e:\josef\eclipsegworkspace\statsmodels-git\statsmodels-all-new\statsmodels\statsmodels\iolib\tests\test_foreign.py", line 167, in test_datetime_roundtrip
    dta2 = genfromdta(buf, pandas=True)
  File "e:\josef\eclipsegworkspace\statsmodels-git\statsmodels-all-new\statsmodels\statsmodels\iolib\foreign.py", line 1054, in genfromdta
    args=(fmtlist[i],))
TypeError: apply() got an unexpected keyword argument 'args'
@josef-pkt
Member

I assume this is very outdated, closing

I didn't see this anymore, and we don't support pandas 0.7 anymore

@josef-pkt josef-pkt closed this Jun 6, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment