fix import for 'coverage' 3.x
authorStefan Behnel <scoder@users.berlios.de>
Tue, 6 Apr 2010 13:31:57 +0000 (15:31 +0200)
committerStefan Behnel <scoder@users.berlios.de>
Tue, 6 Apr 2010 13:31:57 +0000 (15:31 +0200)
runtests.py

index 02c478e7cd6a6cb1e2133c8fdbbcf61480295e47..8d9a38dcc912b201ed6e301f9b719459f2c44dbe 100644 (file)
@@ -806,7 +806,7 @@ if __name__ == '__main__':
         if not WITH_CYTHON:
             options.coverage = False
         else:
-            import coverage
+            from coverage import coverage
             coverage.erase()
             coverage.start()