()
| 868 | |
| 869 | |
| 870 | def test_series_str_decode(): |
| 871 | # GH 22613 |
| 872 | result = Series([b"x", b"y"]).str.decode(encoding="UTF-8", errors="strict") |
| 873 | expected = Series(["x", "y"], dtype="str") |
| 874 | tm.assert_series_equal(result, expected) |
| 875 | |
| 876 | |
| 877 | def test_decode_with_dtype_none(): |