tests/test_graphics_charts.py
changeset 3326 ce725978d11c
parent 2984 c63f149d55aa
child 3580 0fa4d7e1aa35
--- a/tests/test_graphics_charts.py	Sat Feb 06 09:24:08 2010 +0000
+++ b/tests/test_graphics_charts.py	Mon Feb 08 18:17:33 2010 +0000
@@ -53,7 +53,7 @@
     def __init__(self, filename, **kw):
         frame1 = Frame(2.5*cm, 2.5*cm, 15*cm, 25*cm, id='F1')
         self.allowSplitting = 0
-        apply(BaseDocTemplate.__init__, (self, filename), kw)
+        BaseDocTemplate.__init__(self, filename, **kw)
         template = PageTemplate('normal', [frame1], myMainPageFrame)
         self.addPageTemplates(template)