Skip to content
Prev Previous commit
Next Next commit
An error in series/test_dtypes.py - a dtype is not used.
  • Loading branch information
BranYang authored and jreback committed Jun 30, 2017
commit 342871c175c6d11e70b6de294e6b89f167d21a48
2 changes: 1 addition & 1 deletion pandas/tests/series/test_dtypes.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ def run_astype_dict_like(self, dtype_class):

dt3 = dtype_class({'abc': str, 'def': str})
with pytest.raises(KeyError):
s.astype()
s.astype(dt3)

dt4 = dtype_class({0: str})
with pytest.raises(KeyError):
Expand Down