Test that %run -t -N does not raise a TypeError for N > 1.
(self)
| 370 | nt.assert_equal(file1, file2) |
| 371 | |
| 372 | def test_run_formatting(self): |
| 373 | """ Test that %run -t -N<N> does not raise a TypeError for N > 1.""" |
| 374 | src = "pass" |
| 375 | self.mktmp(src) |
| 376 | _ip.magic('run -t -N 1 %s' % self.fname) |
| 377 | _ip.magic('run -t -N 10 %s' % self.fname) |
| 378 | |
| 379 | def test_ignore_sys_exit(self): |
| 380 | """Test the -e option to ignore sys.exit()""" |