Skip to content

Commit a5e16a3

Browse files
committed
refactor: Remove debug print statements from display configuration tests
1 parent 815690b commit a5e16a3

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

python/tests/test_dataframe.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,6 @@ def test_display_config_affects_repr():
13811381
# +---+---------+----+
13821382
# Data truncated.
13831383
repr_str = repr(df)
1384-
print("==> repr_str", repr_str)
13851384

13861385
# The representation should show truncated data (3 rows as specified)
13871386
assert (
@@ -1449,7 +1448,6 @@ def test_display_config_rows_limit_in_html():
14491448

14501449
# Only a few rows should be shown and there should be a truncation message
14511450
row_count = html_str.count("<tr>") - 1 # Subtract 1 for header row
1452-
print("==> html_str", html_str)
14531451
assert row_count <= max_table_rows
14541452
assert "Data truncated" in html_str
14551453

src/dataframe.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -904,10 +904,8 @@ async fn collect_record_batches_to_display(
904904
let mut rows_so_far = 0;
905905
let mut record_batches = Vec::default();
906906
let mut has_more = false;
907-
println!("==> min_rows: {min_rows}, max_rows: {max_rows}, max_bytes: {max_bytes}");
908907

909908
while size_estimate_so_far < max_bytes && rows_so_far < max_rows && rows_so_far < min_rows {
910-
println!("==> size_estimate_so_far: {size_estimate_so_far}, rows_so_far: {rows_so_far}");
911909
let mut rb = match stream.next().await {
912910
None => {
913911
break;

0 commit comments

Comments
 (0)