Skip to content

Commit c9f0476

Browse files
committed
some ci tweaks
1 parent a6f4b5d commit c9f0476

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

src/nested_pandas/nestedframe/core.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# typing.Self and "|" union syntax don't exist in Python 3.9
22
from __future__ import annotations
33

4-
import warnings
54
from collections import defaultdict
65
from collections.abc import Callable, Sequence
76
from typing import Literal

tests/nested_pandas/nestedframe/test_nestedframe.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1156,10 +1156,9 @@ def make_id(row, prefix_str):
11561156

11571157
# Check for output_names length error
11581158
with pytest.raises(ValueError):
1159-
result = nf.map_rows(get_max,
1160-
columns=["packed.c", "packed.d"],
1161-
output_names=["only_one_name"],
1162-
row_container="args")
1159+
result = nf.map_rows(
1160+
get_max, columns=["packed.c", "packed.d"], output_names=["only_one_name"], row_container="args"
1161+
)
11631162

11641163
# Verify that append_columns=True works as expected.
11651164
# Ensure that even with non-unique indexes, the final result retains

0 commit comments

Comments
 (0)