commit | 1b0e5490c566826188175b03458e123c043a7991 | [log] [tgz] |
---|---|---|
author | Tim Peters <tim.peters@gmail.com> | Wed Oct 03 04:15:28 2001 +0000 |
committer | Tim Peters <tim.peters@gmail.com> | Wed Oct 03 04:15:28 2001 +0000 |
tree | cc49420cb0cea4a302a0e676b9c3af65c0ec20ba | |
parent | 17111f3b242be06c7ae913f106093891b82d7fee [diff] [blame] |
Made the classmethod docstring test a bit less trivial.
diff --git a/Lib/test/test_doctest2.py b/Lib/test/test_doctest2.py index 0cbe3d4..9a0e57c 100644 --- a/Lib/test/test_doctest2.py +++ b/Lib/test/test_doctest2.py
@@ -87,10 +87,10 @@ >>> 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)