[cig-commits] [commit] baagaard/fix-faults-intersect: Trivial code cleanup in test. (cf6c6b6)

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


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

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

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

commit cf6c6b6e88ec1a17ba0c665ed483990c6c8d9685
Author: Brad Aagaard <baagaard at usgs.gov>
Date:   Wed Jun 4 09:22:42 2014 -0700

    Trivial code cleanup in test.


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

cf6c6b6e88ec1a17ba0c665ed483990c6c8d9685
 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 09268f5..1294706 100644
--- a/pylith/tests/Fault.py
+++ b/pylith/tests/Fault.py
@@ -74,7 +74,7 @@ def check_vertex_fields(testcase, filename, mesh, fieldNames):
           print "Expected values:",valuesE
           print "Output values:",values
           print "Coordinates: ",vertices
-        testcase.assertEqual(numpy.sum(okay), nvertices)
+        testcase.assertEqual(nvertices, numpy.sum(okay))
 
   h5.close()
   return



More information about the CIG-COMMITS mailing list