Show More
@@ -649,7 +649,7 b' class TestAstTransform(unittest.TestCase):' | |||||
649 | called.add(x) |
|
649 | called.add(x) | |
650 | ip.push({'f':f}) |
|
650 | ip.push({'f':f}) | |
651 |
|
651 | |||
652 |
with tt.AssertPrints(" |
|
652 | with tt.AssertPrints("average of "): | |
653 | ip.run_line_magic("timeit", "-n1 f(1)") |
|
653 | ip.run_line_magic("timeit", "-n1 f(1)") | |
654 | self.assertEqual(called, {-1}) |
|
654 | self.assertEqual(called, {-1}) | |
655 | called.clear() |
|
655 | called.clear() |
General Comments 0
You need to be logged in to leave comments.
Login now