From: Benjamin Peterson Date: Sun, 29 Mar 2009 03:39:58 +0000 (+0000) Subject: fix consistency X-Git-Tag: v2.7a1~1765 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=097aafdde60f9dcb4ce1c5b4b175d211fce58c5e;p=python fix consistency --- diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst index fb5bb86c29..d9fbce8667 100644 --- a/Doc/library/unittest.rst +++ b/Doc/library/unittest.rst @@ -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'