bh: thuban/Extensions/svgexport/test test_svgmapwriter.py, 1.13, 1.14

cvs@intevation.de cvs at intevation.de
Mon Dec 13 15:59:26 CET 2004


Author: bh

Update of /thubanrepository/thuban/Extensions/svgexport/test
In directory doto:/tmp/cvs-serv9875/Extensions/svgexport/test

Modified Files:
	test_svgmapwriter.py 
Log Message:
(TestDrawSplines.setUp): Do not use super with the unittest
classes because in Python 2.2 they're still old-style classes.


Index: test_svgmapwriter.py
===================================================================
RCS file: /thubanrepository/thuban/Extensions/svgexport/test/test_svgmapwriter.py,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- test_svgmapwriter.py	11 Dec 2004 02:25:36 -0000	1.13
+++ test_svgmapwriter.py	13 Dec 2004 14:59:24 -0000	1.14
@@ -188,7 +188,7 @@
     """
 
     def setUp(self):
-        super(TestDrawSplines,self).setUp()
+        TestVirtualDC.setUp(self)
         self.dataframe = ('<path style="stroke-linejoin:round; stroke:#ff00ff; '
                 'stroke-width:3; stroke-linecap:round; fill:none" ' 
                 'meta="Object:test; Label:nothing" d="%s"/>')





More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)