Show More
@@ -330,3 +330,10 b' tclass.py: deleting object: C-third' | |||||
330 |
|
330 | |||
331 | # Check that __file__ was not leaked back into user_ns. |
|
331 | # Check that __file__ was not leaked back into user_ns. | |
332 | nt.assert_equal(file1, file2) |
|
332 | nt.assert_equal(file1, file2) | |
|
333 | ||||
|
334 | def test_run_formatting(self): | |||
|
335 | """ Test that %run -t -N<N> does not raise a TypeError for N > 1.""" | |||
|
336 | src = "pass" | |||
|
337 | self.mktmp(src) | |||
|
338 | _ip.magic('run -t -N 1 %s' % self.fname) | |||
|
339 | _ip.magic('run -t -N 10 %s' % self.fname) |
General Comments 0
You need to be logged in to leave comments.
Login now