Skip to content

Commit f65437d

Browse files
committed
remove unnecessary tests
1 parent e43f7b2 commit f65437d

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

tests/system/small/test_anywidget.py

Lines changed: 0 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import pytest
1818

1919
import bigframes as bf
20-
import bigframes.pandas as bpd
2120

2221
pytest.importorskip("anywidget")
2322

@@ -532,34 +531,6 @@ def test_widget_row_count_reflects_actual_data_available(
532531
assert widget.page_size == 2 # Respects the display option
533532

534533

535-
def test_repr_html_raises_when_row_count_is_none(monkeypatch):
536-
df = bpd.DataFrame({"col1": [1, 2, 3]})
537-
538-
def mock_retrieve_repr_request_results(*args, **kwargs):
539-
return df.to_pandas(), None, None
540-
541-
monkeypatch.setattr(
542-
df._block, "retrieve_repr_request_results", mock_retrieve_repr_request_results
543-
)
544-
545-
with pytest.raises(NotImplementedError):
546-
df._repr_html_()
547-
548-
549-
def test_repr_raises_when_row_count_is_none(monkeypatch):
550-
df = bpd.DataFrame({"col1": [1, 2, 3]})
551-
552-
def mock_retrieve_repr_request_results(*args, **kwargs):
553-
return df.to_pandas(), None, None
554-
555-
monkeypatch.setattr(
556-
df._block, "retrieve_repr_request_results", mock_retrieve_repr_request_results
557-
)
558-
559-
with pytest.raises(NotImplementedError):
560-
df.__repr__()
561-
562-
563534
# TODO(shuowei): Add tests for custom index and multiindex
564535
# This may not be necessary for the SQL Cell use case but should be
565536
# considered for completeness.

0 commit comments

Comments
 (0)