summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_doctest2.py
diff options
context:
space:
mode:
authorTim Peters <tim.peters@gmail.com>2001-10-03 04:15:28 (GMT)
committerTim Peters <tim.peters@gmail.com>2001-10-03 04:15:28 (GMT)
commit1b0e5490c566826188175b03458e123c043a7991 (patch)
treecc49420cb0cea4a302a0e676b9c3af65c0ec20ba /Lib/test/test_doctest2.py
parent17111f3b242be06c7ae913f106093891b82d7fee (diff)
downloadcpython-1b0e5490c566826188175b03458e123c043a7991.zip
cpython-1b0e5490c566826188175b03458e123c043a7991.tar.gz
cpython-1b0e5490c566826188175b03458e123c043a7991.tar.bz2
Made the classmethod docstring test a bit less trivial.
Diffstat (limited to 'Lib/test/test_doctest2.py')
-rw-r--r--Lib/test/test_doctest2.py6
1 files changed, 3 insertions, 3 deletions
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 @@ 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)