Skip to content

Commit 2c145f5

Browse files
Remove tuple-based DataFrame test case (duplicate)
Removed test case for list of tuples in DataFrame assertions.
1 parent 2c603f6 commit 2c145f5

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

tests/test_frame.py

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4728,16 +4728,6 @@ def test_from_records() -> None:
47284728
pd.DataFrame,
47294729
)
47304730

4731-
# Testing with list of tuples (instead of structured array for type compatibility)
4732-
data_array_tuples = [(1, "a"), (2, "b")]
4733-
check(
4734-
assert_type(
4735-
pd.DataFrame.from_records(data_array_tuples, columns=["id", "name"]),
4736-
pd.DataFrame,
4737-
),
4738-
pd.DataFrame,
4739-
)
4740-
47414731
# testing with list of dictionaries
47424732
data_dict_list = [{"id": 1, "name": "a"}, {"id": 2, "name": "b"}]
47434733
check(

0 commit comments

Comments
 (0)