[Python-checkins] cpython (3.2): use unittest.skip; thanks to Chang Min Jeon from docs@

sandro.tosi python-checkins at python.org
Sat Mar 31 18:49:09 CEST 2012


http://hg.python.org/cpython/rev/6774a2285579
changeset:   76021:6774a2285579
branch:      3.2
parent:      76015:d478c0a68bcb
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sat Mar 31 18:34:59 2012 +0200
summary:
  use unittest.skip; thanks to Chang Min Jeon from docs@

files:
  Doc/library/unittest.rst |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Doc/library/unittest.rst b/Doc/library/unittest.rst
--- a/Doc/library/unittest.rst
+++ b/Doc/library/unittest.rst
@@ -640,7 +640,7 @@
 
 Classes can be skipped just like methods: ::
 
-   @skip("showing class skipping")
+   @unittest.skip("showing class skipping")
    class MySkippedTestCase(unittest.TestCase):
        def test_not_run(self):
            pass

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list