]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Add version number for versionchanged directive (backport from 3.3)
authorÉric Araujo <merwok@netwok.org>
Thu, 1 Sep 2011 03:55:26 +0000 (05:55 +0200)
committerÉric Araujo <merwok@netwok.org>
Thu, 1 Sep 2011 03:55:26 +0000 (05:55 +0200)
Doc/library/unittest.rst

index beed4ded86558f37b4389132feecf1bf339cdc6d..d3da895e9aa765b8e391613e231015c8c6e29e88 100644 (file)
@@ -723,8 +723,8 @@ Test cases
    Here, we create two instances of :class:`WidgetTestCase`, each of which runs a
    single test.
 
-   .. versionchanged::
-      `TestCase` can be instantiated successfully without providing a method
+   .. versionchanged:: 3.2
+      :class:`TestCase` can be instantiated successfully without providing a method
       name. This makes it easier to experiment with `TestCase` from the
       interactive interpreter.