Skip to content

Commit 3a82644

Browse files
committed
Fix assertion in test_show_from_empty_batch to ensure proper output for empty DataFrames
1 parent d698a98 commit 3a82644

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

python/tests/test_dataframe.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2678,4 +2678,4 @@ def test_show_from_empty_batch(capsys) -> None:
26782678
batch = pa.record_batch([pa.array([], type=pa.int32())], names=["a"])
26792679
ctx.create_dataframe([[batch]]).show()
26802680
out = capsys.readouterr().out
2681-
assert "| a |" in out
2681+
assert "| a |" in out

0 commit comments

Comments
 (0)