Fix accidental deletion

Change-Id: I211b4137081df34206eb2673a61ca6179fd0e4e9
This commit is contained in:
Wes McKinney committed 2016-10-10 08:27:44 -04:00
1 parent 77fb03b411
commit 5716601f2c
2 files changed
+5

No files matched your search

+1
View File
@@ -38,6 +38,7 @@ import pyarrow.schema as schema
def total_allocated_bytes():
cdef MemoryPool* pool = pyarrow.get_memory_pool()
return pool.bytes_allocated()
cdef class Array:
+4
View File
@@ -19,6 +19,10 @@ import pyarrow
import pyarrow.formatting as fmt
def test_total_bytes_allocated():
assert pyarrow.total_allocated_bytes() == 0
def test_repr_on_pre_init_array():
arr = pyarrow.array.Array()
assert len(repr(arr)) > 0