From 1b0e5490c566826188175b03458e123c043a7991 Mon Sep 17 00:00:00 2001 From: Tim Peters Date: Wed, 3 Oct 2001 04:15:28 +0000 Subject: [PATCH] Made the classmethod docstring test a bit less trivial. --- Lib/test/test_doctest2.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Lib/test/test_doctest2.py b/Lib/test/test_doctest2.py index 0cbe3d43019..9a0e57c9c4b 100644 --- a/Lib/test/test_doctest2.py +++ b/Lib/test/test_doctest2.py @@ -87,10 +87,10 @@ def clsm(cls, val): >>> 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)