Salome HOME
upgraded swig support from v4.0.2 to v4.1.1
[modules/shaper.git] / src / FeaturesPlugin / Test / Test17000.py
index 53be1e52206bc2ee88460c0d382d7b5ae69959a0..ac0b2aaac75fca2aa01c5b86f1a04c111d7be1ea 100644 (file)
@@ -235,7 +235,7 @@ model.testNbSubShapes(Partition_1, GeomAPI_Shape.VERTEX, [499])
 
 import math
 from GeomAlgoAPI import *
-aResultArea = GeomAlgoAPI_ShapeTools_area(Partition_1.results()[0].resultSubShapePair()[0].shape())
+aResultArea = GeomAlgoAPI_ShapeTools.area(Partition_1.results()[0].resultSubShapePair()[0].shape())
 anExpectedArea = 70.18465
 assert(math.fabs(aResultArea-anExpectedArea)/anExpectedArea<1e-7)