mgorny commented on code in PR #40165:
URL: https://github.com/apache/arrow/pull/40165#discussion_r1496394164
##########
python/pyarrow/tests/test_schema.py:
##########
@@ -681,7 +681,8 @@ def test_schema_sizeof():
pa.field('bar', pa.string()),
])
- assert sys.getsizeof(schema) > 30
+ # Note: pa.schema is twice as large on 64-bit systems
+ assert sys.getsizeof(schema) > 30 if sys.maxsize > 2**32 else 15
Review Comment:
Done, also for the other one.
--
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]