fix syntax in coverage.py, fixing run-tests.py -C
authorAlexis S. L. Carvalho <alexis@cecm.usp.br>
Fri, 08 Feb 2008 13:16:49 -0200
changeset 6047 a7178d4ed8ee
parent 6046 588ad9227b63
child 6048 cfb4a51da7d5
fix syntax in coverage.py, fixing run-tests.py -C d0576d065993 accidentally broke things.
tests/coverage.py
--- a/tests/coverage.py	Fri Feb 08 15:42:28 2008 +0100
+++ b/tests/coverage.py	Fri Feb 08 13:16:49 2008 -0200
@@ -218,7 +218,7 @@
         firstelse = self.getFirstLine(suite)
         for l in range(lastprev+1, firstelse):
             if l in self.suite_spots:
-                self.doSuite(None, suite, l in exclude=self.excluded)
+                self.doSuite(None, suite, exclude=l in self.excluded)
                 break
         else:
             self.doSuite(None, suite)