[Python-checkins] r82331 - in python/branches/py3k: Lib/test/test_exceptions.py
benjamin.peterson
python-checkins at python.org
Mon Jun 28 17:39:55 CEST 2010
Author: benjamin.peterson
Date: Mon Jun 28 17:39:55 2010
New Revision: 82331
Log:
Merged revisions 82330 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82330 | benjamin.peterson | 2010-06-28 10:36:40 -0500 (Mon, 28 Jun 2010) | 1 line
testcapi tests are definitely cpython only
........
Modified:
python/branches/py3k/ (props changed)
python/branches/py3k/Lib/test/test_exceptions.py
Modified: python/branches/py3k/Lib/test/test_exceptions.py
==============================================================================
--- python/branches/py3k/Lib/test/test_exceptions.py (original)
+++ python/branches/py3k/Lib/test/test_exceptions.py Mon Jun 28 17:39:55 2010
@@ -7,7 +7,7 @@
import weakref
from test.support import (TESTFN, unlink, run_unittest, captured_output,
- gc_collect)
+ gc_collect, cpython_only)
# XXX This is not really enough, each *operation* should be tested!
@@ -137,6 +137,7 @@
ckmsg(s, "'continue' not properly in loop")
ckmsg("continue\n", "'continue' not properly in loop")
+ @cpython_only
def testSettingException(self):
# test that setting an exception at the C level works even if the
# exception object can't be constructed.
@@ -669,6 +670,7 @@
tb2 = raiseMemError()
self.assertEqual(tb1, tb2)
+ @cpython_only
def test_exception_with_doc(self):
import _testcapi
doc2 = "This is a test docstring."
More information about the Python-checkins
mailing list