summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2010-06-28 15:41:06 (GMT)
committerBenjamin Peterson <benjamin@python.org>2010-06-28 15:41:06 (GMT)
commitd6a8e6d23494b4f77748cb8aa0cd30e4a61f6140 (patch)
treeeb087470832fc11e55154a70d1e7233935c170f5 /Lib
parent8eeb1dcbbce61a195cf1f8b2efcaad754fb6a21d (diff)
downloadcpython-d6a8e6d23494b4f77748cb8aa0cd30e4a61f6140.zip
cpython-d6a8e6d23494b4f77748cb8aa0cd30e4a61f6140.tar.gz
cpython-d6a8e6d23494b4f77748cb8aa0cd30e4a61f6140.tar.bz2
fix skipping condition
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_property.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_property.py b/Lib/test/test_property.py
index 6d6bece..e5fc174 100644
--- a/Lib/test/test_property.py
+++ b/Lib/test/test_property.py
@@ -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()