We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 377f741 commit fb5272dCopy full SHA for fb5272d
pandas/tests/generic/test_generic.py
@@ -962,6 +962,7 @@ def test_astype_ignores(self):
962
with pytest.raises(KeyError):
963
df.astype({"b": str})
964
965
- # Tests that no KeyError is thrown if ignore is true. Ensures there is no change to the initial DataFrame
+ # Tests that no KeyError is thrown if ignore is true.
966
+ # Ensures there is no change to the initial DataFrame.
967
df.astype({"b": str}, errors="ignore")
968
assert df.equals(df_validation)
0 commit comments