[Mapserver-users] MapScript Tests: Argument Error in testShapeCopy

Jan Schüngel jschuengel@intevation.de
Wed, 19 May 2004 13:00:03 +0200


Hi

during the Test i get the following error:

ERROR: testShapeCopy (__main__.ShapePointTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "tests/testMapScript.py", line 704, in testShapeCopy
    s = self.copyShape(self.shape)
  File "tests/testMapScript.py", line 682, in copyShape
    return shape.copy()
  File "build/lib.linux-i686-2.3/mapscript.py", line 211, in copy
    def copy(*args): return apply(_mapscript.shapeObj_copy,args)
TypeError: shapeObj_copy() takes exactly 2 arguments (1 given)
r:

is the test wrong or whats the problem here ??
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users