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)