tests/test_pdfgen_pycanvas.py
changeset 2984 c63f149d55aa
parent 2966 c9df63ccabdf
child 2987 711910106e3a
--- a/tests/test_pdfgen_pycanvas.py	Fri Sep 12 16:19:39 2008 +0000
+++ b/tests/test_pdfgen_pycanvas.py	Mon Sep 15 11:03:17 2008 +0000
@@ -4,10 +4,9 @@
 __version__=''' $Id$ '''
 __doc__='testscript for reportlab.pdfgen'
 #tests and documents new low-level canvas and the pycanvas module to output Python source code.
-
+from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation, testsFolder
+setOutDir(__name__)
 import string, os, unittest
-from tests.utils import makeSuiteForClasses, outputfile, printLocation, testsFolder
-
 from reportlab.pdfgen import pycanvas   # gmcm 2000/10/13, pdfgen now a package
 from reportlab.lib.units import inch, cm
 from reportlab.lib import colors