[Python-checkins] cpython (2.7): 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/3ca81a951c31
changeset:   76020:3ca81a951c31
branch:      2.7
parent:      76017:b3a7b27953e0
user:        Sandro Tosi <sandro.tosi at gmail.com>
date:        Sat Mar 31 18:34:42 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
@@ -616,7 +616,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