zero-sum-seattle / python-mlb-statsapi

Python Wrapper for the MLB's Official Stats API
MIT License
48 stars 11 forks source link

TypeError: SimpleCatchingSplit.__init__() got an unexpected keyword #224

Closed Mattsface closed 2 weeks ago

Mattsface commented 2 weeks ago

It looks like they have added a couple new fields to the SimpleCatchingSplit. I'll go ahead and fix this, and hopefully resolve our pypy issues.


       - TypeError: SimpleCatchingSplit.__init__() got an unexpected keyword
       argument 'pickoffattempts'
FAILED tests/external_tests/stats/test_catching.py::TestCatchingStats::test_catching_stat_attributes_team
       - TypeError: SimpleCatchingSplit.__init__() got an unexpected keyword
       argument 'pickoffattempts'
FAILED tests/external_tests/team/test_team.py::TestTeam::test_team_instance_id_instance_success
       - AssertionError: 'Athletics' != 'Oakland Athletics'
- Athletics
+ Oakland Athletics