()
| 828 | |
| 829 | |
| 830 | def test_abs_errors(): |
| 831 | df = pd.DataFrame( |
| 832 | { |
| 833 | "A": [1, -2, 3, -4, 5], |
| 834 | "C": ["a", "b", "c", "d", "e"], |
| 835 | } |
| 836 | ) |
| 837 | ddf = from_pandas(df, npartitions=2) |
| 838 | pytest.raises((TypeError, NotImplementedError, ValueError), lambda: ddf.C.abs()) |
| 839 | pytest.raises((TypeError, NotImplementedError), lambda: ddf.abs()) |
| 840 | |
| 841 | |
| 842 | def test_to_datetime_timezone(): |
nothing calls this directly
no test coverage detected