MCPcopy Create free account
hub / github.com/apache/arrow / test_ARROW_8801

Function test_ARROW_8801

python/scripts/test_leak.py:98–104  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

96
97
98def test_ARROW_8801():
99 x = pd.to_datetime(np.random.randint(0, 2**32, size=2**20, dtype=np.int64),
100 unit='ms', utc=True)
101 table = pa.table(pd.DataFrame({'x': x}))
102
103 assert_does_not_leak(lambda: table.to_pandas(split_blocks=False),
104 iterations=1000, check_interval=50, tolerance=1000)
105
106
107if __name__ == '__main__':

Callers 1

test_leak.pyFile · 0.85

Calls 2

assert_does_not_leakFunction · 0.85
to_datetimeMethod · 0.80

Tested by

no test coverage detected