1. Takafumi Arakaki
  2. Numpy Toy Box

Commits

Takafumi Arakaki  committed d51bf70

test_justdel.py for check GC

  • Participants
  • Parent commits 74fe796
  • Branches default

Comments (0)

Files changed (1)

File carraywrap/test_justdel.py

View file
+import numpy
+from carraywrap import *
+
+print "### Check whether GC works ###"
+print "caw = CArrayWrap(2,2)"
+caw = CArrayWrap(2,2)
+print "del caw.nparray"
+del caw.nparray
+print "del caw"
+del caw
+
+print
+print "### Check whether cyclic GC works ###"
+print "caw = CArrayWrap(2,2)"
+caw = CArrayWrap(2,2)
+print "del caw"
+del caw