Permalink
Browse files

Fix test for Windows

Closes gh-3020
  • Loading branch information...
takluyver committed Mar 15, 2013
1 parent 3c0b898 commit b0001fcd6e0e5401c0c05fcf0e85c8a28a1f4edd
Showing with 2 additions and 2 deletions.
  1. +2 −2 IPython/core/tests/test_interactiveshell.py
@@ -493,13 +493,13 @@ def f(x):
ip.push({'f':f})
# Test with an expression
- with tt.AssertPrints("CPU times"):
+ with tt.AssertPrints("Wall time: "):
ip.run_line_magic("time", "f(5+9)")
self.assertEqual(called, [-14])
called[:] = []
# Test with a statement (different code path)
- with tt.AssertPrints("CPU times"):
+ with tt.AssertPrints("Wall time: "):
ip.run_line_magic("time", "a = f(-3 + -2)")
self.assertEqual(called, [5])

0 comments on commit b0001fc

Please sign in to comment.