coverage.py: fixed syntax error
authorHenri Wiechers <hwiechers@gmail.com>
Mon, 01 Feb 2010 22:29:11 +0200
changeset 10319 86a6bc519592
parent 10318 325a6aa95eea
child 10321 6e721636fede
coverage.py: fixed syntax error
tests/coverage.py
--- a/tests/coverage.py	Fri Feb 05 17:24:38 2010 +0100
+++ b/tests/coverage.py	Mon Feb 01 22:29:11 2010 +0200
@@ -645,7 +645,7 @@
     def find_docstring_pass_pair(self, tree, spots):
         for i in range(1, len(tree)):
             if (self.is_string_constant(tree[i]) and
-                self.is_pass_stmt(tree[i + 1]):
+                self.is_pass_stmt(tree[i + 1])):
                 first_line = self.first_line_of_tree(tree[i])
                 last_line = self.last_line_of_tree(tree[i + 1])
                 self.record_multiline(spots, first_line, last_line)