diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-29 08:15:50 +0200 |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2015-10-29 08:15:50 +0200 |
commit | ac4bdcc80e986bdd5b9d10ab0bce35aabb790a3e (patch) | |
tree | ab7584880b723f516f0ac580241396e850128a63 /Lib/test/test_inspect.py | |
parent | f8152c67f52874cd4aa63f1cb3e1216382f98057 (diff) | |
download | cpython-git-ac4bdcc80e986bdd5b9d10ab0bce35aabb790a3e.tar.gz |
Issue #25503: Fixed inspect.getdoc() for inherited docstrings of properties.
Original patch by John Mark Vandenberg.
Diffstat (limited to 'Lib/test/test_inspect.py')
-rw-r--r-- | Lib/test/test_inspect.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py index 955b2adcb2..69ddb514d6 100644 --- a/Lib/test/test_inspect.py +++ b/Lib/test/test_inspect.py @@ -393,8 +393,8 @@ class TestRetrievingSourceCode(GetSourceBase): def test_getsource(self): self.assertSourceEqual(git.abuse, 29, 39) - self.assertSourceEqual(mod.StupidGit, 21, 50) - self.assertSourceEqual(mod.lobbest, 70, 71) + self.assertSourceEqual(mod.StupidGit, 21, 51) + self.assertSourceEqual(mod.lobbest, 75, 76) def test_getsourcefile(self): self.assertEqual(normcase(inspect.getsourcefile(mod.spam)), modfile) |