bkietz commented on a change in pull request #7156:
URL: https://github.com/apache/arrow/pull/7156#discussion_r426705881
##########
File path: python/pyarrow/tests/test_dataset.py
##########
@@ -1425,3 +1425,13 @@ def test_feather_format(tempdir):
write_feather(table, str(basedir / "data1.feather"), version=1)
with pytest.raises(ValueError):
ds.dataset(basedir, format="feather").to_table()
+
+
+def test_file_source_refcount():
+ from io import BytesIO
+ from sys import getrefcount
Review comment:
okay
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]