]> granicus.if.org Git - python/commitdiff
Made the classmethod docstring test a bit less trivial.
authorTim Peters <tim.peters@gmail.com>
Wed, 3 Oct 2001 04:15:28 +0000 (04:15 +0000)
committerTim Peters <tim.peters@gmail.com>
Wed, 3 Oct 2001 04:15:28 +0000 (04:15 +0000)
Lib/test/test_doctest2.py

index 0cbe3d43019ff1f12b3d7d5763ba0b4b006e86f3..9a0e57c9c4b8b9eaef78b3ecc458d471ab16db2b 100644 (file)
@@ -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)