AlenkaF commented on code in PR #34294:
URL: https://github.com/apache/arrow/pull/34294#discussion_r1118565888
##########
python/pyarrow/tests/interchange/test_conversion.py:
##########
@@ -274,6 +368,21 @@ def test_roundtrip_pandas_datetime(unit):
assert expected_protocol.num_chunks() == result_protocol.num_chunks()
assert expected_protocol.column_names() == result_protocol.column_names()
+ batch = table.to_batches()[0]
+ pandas_df = pandas_from_dataframe(batch)
+ result = pi.from_dataframe(pandas_df)
Review Comment:
I have removed the repetition from all the tests in _test_conversion.py_ and
updated the tests in _test_interchange_spec.py_ to reflect what was suggested
here.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]