tests/test_pdfgen_pycanvas.py
changeset 2987 711910106e3a
parent 2984 c63f149d55aa
child 3326 ce725978d11c
--- a/tests/test_pdfgen_pycanvas.py	Mon Sep 15 11:16:32 2008 +0000
+++ b/tests/test_pdfgen_pycanvas.py	Mon Sep 15 13:21:33 2008 +0000
@@ -4,7 +4,7 @@
 __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
+from reportlab.lib.testutils import setOutDir,makeSuiteForClasses, outputfile, printLocation
 setOutDir(__name__)
 import string, os, unittest
 from reportlab.pdfgen import pycanvas   # gmcm 2000/10/13, pdfgen now a package
@@ -637,6 +637,7 @@
 
     c.drawText(t)
     import tests
+    from reportlab.lib.testutils import testsFolder
     gif = os.path.join(testsFolder,'pythonpowered.gif')
     if haveImages and rl_isfile(gif):
         c.drawInlineImage(gif,2*inch, 7*inch)