summaryrefslogtreecommitdiffstats
path: root/Doc/library/unittest.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-29 03:39:58 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-29 03:39:58 (GMT)
commit097aafdde60f9dcb4ce1c5b4b175d211fce58c5e (patch)
tree6449132769078ddf7c859132ce69801e2759a483 /Doc/library/unittest.rst
parent7233acc5c516125e46828a033c5f847d9af05ef0 (diff)
downloadcpython-097aafdde60f9dcb4ce1c5b4b175d211fce58c5e.zip
cpython-097aafdde60f9dcb4ce1c5b4b175d211fce58c5e.tar.gz
cpython-097aafdde60f9dcb4ce1c5b4b175d211fce58c5e.tar.bz2
fix consistency
Diffstat (limited to 'Doc/library/unittest.rst')
-rw-r--r--Doc/library/unittest.rst4
1 files changed, 2 insertions, 2 deletions
diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
index fb5bb86..d9fbce8 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'