Commit 55f70230 authored by Stefan Behnel's avatar Stefan Behnel

coverage: fix line counting for source representation

parent b7a6c6cc
...@@ -202,6 +202,7 @@ class CythonModuleReporter(FileReporter): ...@@ -202,6 +202,7 @@ class CythonModuleReporter(FileReporter):
yield '' yield ''
current_line += 1 current_line += 1
yield code_line yield code_line
current_line += 1
def source(self): def source(self):
if os.path.exists(self.filename): if os.path.exists(self.filename):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment