]> granicus.if.org Git - python/commitdiff
fix consistency
authorBenjamin Peterson <benjamin@python.org>
Sun, 29 Mar 2009 03:39:58 +0000 (03:39 +0000)
committerBenjamin Peterson <benjamin@python.org>
Sun, 29 Mar 2009 03:39:58 +0000 (03:39 +0000)
Doc/library/unittest.rst

index fb5bb86c295110f575def3f1024a7423ce478569..d9fbce8667b93b6c3babba7bb3bf7332f45d7be6 100644 (file)
@@ -449,7 +449,7 @@ Basic skipping looks like this: ::
 
        @unittest.skipIf(mylib.__version__ < (1, 3), "not supported in this library version")
        def test_format(self):
-           # 2.6+ only code here.
+           # Tests that work for only a certain version of the library.
            pass
 
        @unittest.skipUnless(sys.platform.startswith("win"), "requires Windows")
@@ -459,7 +459,7 @@ Basic skipping looks like this: ::
 
 This is the output of running the example above in verbose mode: ::
 
-   test_format (__main__.MyTestCase) ... skipped 'not supported in this Python version'
+   test_format (__main__.MyTestCase) ... skipped 'not supported in this library version'
    test_nothing (__main__.MyTestCase) ... skipped 'demonstrating skipping'
    test_windows_support (__main__.MyTestCase) ... skipped 'requires Windows'