##// END OF EJS Templates
Fix test for Windows...
Thomas Kluyver -
Show More
@@ -493,13 +493,13 b' class TestAstTransform(unittest.TestCase):'
493 493 ip.push({'f':f})
494 494
495 495 # Test with an expression
496 with tt.AssertPrints("CPU times"):
496 with tt.AssertPrints("Wall time: "):
497 497 ip.run_line_magic("time", "f(5+9)")
498 498 self.assertEqual(called, [-14])
499 499 called[:] = []
500 500
501 501 # Test with a statement (different code path)
502 with tt.AssertPrints("CPU times"):
502 with tt.AssertPrints("Wall time: "):
503 503 ip.run_line_magic("time", "a = f(-3 + -2)")
504 504 self.assertEqual(called, [5])
505 505
General Comments 0
You need to be logged in to leave comments. Login now