Show More
@@ -283,3 +283,8 b' def test_getdoc():' | |||
|
283 | 283 | nt.assert_equal(oinspect.getdoc(a), "standard docstring") |
|
284 | 284 | nt.assert_equal(oinspect.getdoc(b), "custom docstring") |
|
285 | 285 | nt.assert_equal(oinspect.getdoc(c), "standard docstring") |
|
286 | ||
|
287 | def test_pdef(): | |
|
288 | # See gh-1914 | |
|
289 | def foo(): pass | |
|
290 | inspector.pdef(foo, 'foo') |
General Comments 0
You need to be logged in to leave comments.
Login now