Show More
@@ -16,6 +16,7 b' from __future__ import print_function' | |||
|
16 | 16 | # Stdlib imports |
|
17 | 17 | import os |
|
18 | 18 | import re |
|
19 | import sys | |
|
19 | 20 | |
|
20 | 21 | # Third-party imports |
|
21 | 22 | import nose.tools as nt |
@@ -48,7 +49,7 b' ip = get_ipython()' | |||
|
48 | 49 | # defined, if any code is inserted above, the following line will need to be |
|
49 | 50 | # updated. Do NOT insert any whitespace between the next line and the function |
|
50 | 51 | # definition below. |
|
51 |
THIS_LINE_NUMBER = 5 |
|
|
52 | THIS_LINE_NUMBER = 52 # Put here the actual number of this line | |
|
52 | 53 | def test_find_source_lines(): |
|
53 | 54 | nt.assert_equal(oinspect.find_source_lines(test_find_source_lines), |
|
54 | 55 | THIS_LINE_NUMBER+1) |
@@ -203,6 +204,7 b' def test_calltip_function2():' | |||
|
203 | 204 | check_calltip(g, 'g', 'g(y, z=3, *a, **kw)', '<no docstring>') |
|
204 | 205 | |
|
205 | 206 | |
|
207 | @skipif(sys.version_info >= (3, 5)) | |
|
206 | 208 | def test_calltip_builtin(): |
|
207 | 209 | check_calltip(sum, 'sum', None, sum.__doc__) |
|
208 | 210 |
General Comments 0
You need to be logged in to leave comments.
Login now