[cig-commits] r18458 - short/3D/PyLith/trunk/unittests/pytests/topology

brad at geodynamics.org brad at geodynamics.org
Tue May 24 16:37:01 PDT 2011


Author: brad
Date: 2011-05-24 16:37:01 -0700 (Tue, 24 May 2011)
New Revision: 18458

Modified:
   short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py
Log:
Proper cleanup of Jacobian (need to deallocate before calling PetscFinalize().

Modified: short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py
===================================================================
--- short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py	2011-05-24 23:36:24 UTC (rev 18457)
+++ short/3D/PyLith/trunk/unittests/pytests/topology/TestJacobian.py	2011-05-24 23:37:01 UTC (rev 18458)
@@ -65,6 +65,11 @@
     return
 
 
+  def tearDown(self):
+    self.jacobian.cleanup()
+    return
+
+
   def test_constructor(self):
     """
     Test constructor.



More information about the CIG-COMMITS mailing list