[PyKDE] Error while reading coverage after unit tests on Eric3
Detlev Offenbach
detlev at die-offenbachs.de
Sat Jun 11 10:48:02 BST 2005
Am Freitag, 10. Juni 2005 12:19 schrieb Marco Bizzarri:
> 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?
>
> Regards
> Marco
>
Please send me the script and the coverage file. Over here it seems to work
fine.
Detlev
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list