We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af5d1a5 commit 634aeebCopy full SHA for 634aeeb
python/pyarrow/tests/test_ipc.py
@@ -779,6 +779,18 @@ def test_message_serialize_read_message(example_messages):
779
pa.ipc.read_message(reader)
780
781
782
+def test_message_repr_shows_actual_values(example_messages):
783
+ _, messages = example_messages
784
+
785
+ for msg in messages:
786
+ s = str(msg)
787
788
+ assert '{self.type}' not in s
789
+ assert '{metadata_len}' not in s
790
+ assert '{body_len}' not in s
791
+ assert f'type: {msg.type}' in s
792
793
794
@pytest.mark.gzip
795
def test_message_read_from_compressed(example_messages):
796
# Part of ARROW-5910
0 commit comments