[PyKDE] Error while reading coverage after unit tests on Eric3

Marco Bizzarri m.bizzarri at icube.it
Fri Jun 10 11:19:28 BST 2005

Hi all.

I'm trying to get the coverage from a run of a ZopeTestCase. When I try 
to see the coverage, here is the result.

  File "/usr/lib/python2.3/site-packages/eric3/Project/Project.py", line 
3229, in handleCodeCoverage
    self.codecoverage.start(fn, files)
  File "/usr/lib/python2.3/site-packages/eric3/UI/PyCoverageDialog.py", 
line 144, in start
    _, statements, excluded, missing, readable  = cover.analysis2(file)
  File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", 
line 601, in analysis2
    filename, statements, excluded = self.analyze_morf(morf)
  File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", 
line 490, in analyze_morf
    lines, excluded_lines = self.find_executable_statements(
  File "/usr/lib/python2.3/site-packages/eric3/Debugger/PyCoverage.py", 
line 545, in find_executable_statements
    tree = parser.suite(text+'\n\n').totuple(1)
  File "<string>", line 4

Any suggestions?


More information about the PyQt mailing list