diff --git a/ipywidgets/widgets/tests/test_set_state.py b/ipywidgets/widgets/tests/test_set_state.py index b580941c978..f59c619445b 100644 --- a/ipywidgets/widgets/tests/test_set_state.py +++ b/ipywidgets/widgets/tests/test_set_state.py @@ -122,4 +122,4 @@ def test_set_state_data_truncate(): # Sanity: assert len(buffers) == 1 - assert buffers[0].tobytes() == data[:20].tobytes() + assert buffers[0] == data[:20].tobytes()