Merged revisions 82332 via svnmerge from

svn+ssh://pythondev@svn.python.org/python/trunk

........
  r82332 | benjamin.peterson | 2010-06-28 10:41:06 -0500 (Mon, 28 Jun 2010) | 1 line

  fix skipping condition
........
This commit is contained in:
Benjamin Peterson 2010-06-28 15:43:25 +00:00
parent 17e0bbc30c
commit 902d2bd64d
1 changed files with 1 additions and 1 deletions

View File

@ -118,7 +118,7 @@ class PropertyTests(unittest.TestCase):
self.assertEqual(base.__class__.spam.__doc__, "spam spam spam")
self.assertEqual(sub.__class__.spam.__doc__, "spam spam spam")
@unittest.skipIf(sys.flags.optimize >= 1,
@unittest.skipIf(sys.flags.optimize >= 2,
"Docstrings are omitted with -O2 and above")
def test_property_getter_doc_override(self):
newgettersub = PropertySubNewGetter()