##// END OF EJS Templates
Fix annoying line number test
Thomas Kluyver -
Show More
@@ -49,7 +49,7 b' ip = get_ipython()'
49 # defined, if any code is inserted above, the following line will need to be
49 # defined, if any code is inserted above, the following line will need to be
50 # updated. Do NOT insert any whitespace between the next line and the function
50 # updated. Do NOT insert any whitespace between the next line and the function
51 # definition below.
51 # definition below.
52 THIS_LINE_NUMBER = 51 # Put here the actual number of this line
52 THIS_LINE_NUMBER = 52 # Put here the actual number of this line
53 def test_find_source_lines():
53 def test_find_source_lines():
54 nt.assert_equal(oinspect.find_source_lines(test_find_source_lines),
54 nt.assert_equal(oinspect.find_source_lines(test_find_source_lines),
55 THIS_LINE_NUMBER+1)
55 THIS_LINE_NUMBER+1)
General Comments 0
You need to be logged in to leave comments. Login now