summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_inspect.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2015-10-29 06:17:10 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2015-10-29 06:17:10 (GMT)
commit6230235e833bedfc1b4b6c1aba1d6fa8b616d1b1 (patch)
treeb17b4d96453144cde2a4398818332cf7256a7f17 /Lib/test/test_inspect.py
parent2e0e18ba57ba4d8eb438734e2dc57bce0071f471 (diff)
parentac4bdcc80e986bdd5b9d10ab0bce35aabb790a3e (diff)
downloadcpython-6230235e833bedfc1b4b6c1aba1d6fa8b616d1b1.zip
cpython-6230235e833bedfc1b4b6c1aba1d6fa8b616d1b1.tar.gz
cpython-6230235e833bedfc1b4b6c1aba1d6fa8b616d1b1.tar.bz2
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.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_inspect.py b/Lib/test/test_inspect.py
index db15b39..a88e7fd 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)