Skip to content

Commit 284e6bc

Browse files
committed
applied pre-commit hooks formated lint code
1 parent dd2af98 commit 284e6bc

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

tests/test_frame.py

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1087,17 +1087,16 @@ def test_types_pivot_table() -> None:
10871087
pd.DataFrame,
10881088
)
10891089

1090-
def test_pivot_table_sort():
1091-
df = pd.DataFrame(
1092-
{"a": [1, 2],
1093-
"b": [3, 4],
1094-
"c": [5, 6],
1095-
"d": [7, 8]}
1096-
)
10971090

1091+
def test_pivot_table_sort():
1092+
df = pd.DataFrame({"a": [1, 2], "b": [3, 4], "c": [5, 6], "d": [7, 8]})
10981093

1099-
check(assert_type(df.pivot_table(values="a", index="b", columns="c"
1100-
, sort=True), pd.DataFrame), pd.DataFrame)
1094+
check(
1095+
assert_type(
1096+
df.pivot_table(values="a", index="b", columns="c", sort=True), pd.DataFrame
1097+
),
1098+
pd.DataFrame,
1099+
)
11011100

11021101

11031102
def test_types_groupby_as_index() -> None:

0 commit comments

Comments
 (0)