Commits

Ned Batchelder committed 86eae1c

Remove unnecessary __future__ imports.

  • Participants
  • Parent commits 0462e94

Comments (0)

Files changed (1)

tests/test_coverage.py

 
     def test_yield(self):
         self.check_coverage("""\
-            from __future__ import generators
             def gen():
                 yield 1
                 yield (2+
             assert boosted2(10) == 200
             """,
             ([1,2,3,4,5,7,8,9,10,11,12,14,15,17,19,21,22,24,26],
-                [1,2,3,4,5,7,8,9,10,11,12,14,   17,19,21,   24,26]), "")
+             [1,2,3,4,5,7,8,9,10,11,12,14,   17,19,21,   24,26]), "")
 
 
 class Py25Test(CoverageTest):
 
     def test_with_statement(self):
         self.check_coverage("""\
-            from __future__ import with_statement
-
             class Managed:
                 def __enter__(self):
                     desc = "enter"