From: Tim Peters Date: Wed, 3 Oct 2001 04:15:28 +0000 (+0000) Subject: Made the classmethod docstring test a bit less trivial. X-Git-Tag: v2.2.1c1~1486 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1b0e5490c566826188175b03458e123c043a7991;p=python Made the classmethod docstring test a bit less trivial. --- diff --git a/Lib/test/test_doctest2.py b/Lib/test/test_doctest2.py index 0cbe3d4301..9a0e57c9c4 100644 --- a/Lib/test/test_doctest2.py +++ b/Lib/test/test_doctest2.py @@ -87,10 +87,10 @@ class C(object): >>> print C.clsm(22) # 18 22 - >>> print C().clsm(22) # 19 - 22 + >>> print C().clsm(23) # 19 + 23 """ - return 22 + return val clsm = classmethod(clsm)