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

Jan Schüngel jschuengel at intevation.de
Wed May 19 07:00:03 EDT 2004


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 ??



More information about the mapserver-users mailing list