[Python-checkins] r70671 - python/trunk/Doc/library/unittest.rst
benjamin.peterson
python-checkins at python.org
Sun Mar 29 05:39:58 CEST 2009
Author: benjamin.peterson
Date: Sun Mar 29 05:39:58 2009
New Revision: 70671
Log:
fix consistency
Modified:
python/trunk/Doc/library/unittest.rst
Modified: python/trunk/Doc/library/unittest.rst
==============================================================================
--- python/trunk/Doc/library/unittest.rst (original)
+++ python/trunk/Doc/library/unittest.rst Sun Mar 29 05:39:58 2009
@@ -449,7 +449,7 @@
@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 @@
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'
More information about the Python-checkins
mailing list