[cig-commits] [commit] baagaard/fix-faults-intersect: Trivial code cleanup of test code. (03c29a0)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Jun 4 12:49:23 PDT 2014


Repository : https://github.com/geodynamics/pylith

On branch  : baagaard/fix-faults-intersect
Link       : https://github.com/geodynamics/pylith/compare/85fe9961fb58cc7323dc26e78085e3f9b7748433...d42a67a6ec678bc8486e0f74f439efbe2f82a25d

>---------------------------------------------------------------

commit 03c29a0e28464d64b0067cfb864283a2ee6228ae
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Wed Jun 4 08:52:38 2014 -0700

    Trivial code cleanup of test code.


>---------------------------------------------------------------

03c29a0e28464d64b0067cfb864283a2ee6228ae
 pylith/tests/Fault.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pylith/tests/Fault.py b/pylith/tests/Fault.py
index 072a6f2..09268f5 100644
--- a/pylith/tests/Fault.py
+++ b/pylith/tests/Fault.py
@@ -118,7 +118,7 @@ def check_data(testcase, filename, mesh, fieldNames):
         print "Error in component %d of field '%s'." % (i, name)
         print "Expected values:",valuesE
         print "Output values:",values
-      testcase.assertEqual(numpy.sum(okay), nvertices)
+      testcase.assertEqual(nvertices, numpy.sum(okay))
   h5.close()
   return
 



More information about the CIG-COMMITS mailing list