[pypy-svn] r80014 - pypy/branch/fast-forward/lib-python/modified-2.7.0/test

afa at codespeak.net afa at codespeak.net
Mon Dec 13 00:35:43 CET 2010


Author: afa
Date: Mon Dec 13 00:35:41 2010
New Revision: 80014

Modified:
   pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py
Log:
Skip two tests really tied to CPython architecture


Modified: pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py
==============================================================================
--- pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py	(original)
+++ pypy/branch/fast-forward/lib-python/modified-2.7.0/test/test_threading.py	Mon Dec 13 00:35:41 2010
@@ -159,6 +159,7 @@
 
     # PyThreadState_SetAsyncExc() is a CPython-only gimmick, not (currently)
     # exposed at the Python level.  This test relies on ctypes to get at it.
+    @test.test_support.cpython_only
     def test_PyThreadState_SetAsyncExc(self):
         try:
             import ctypes
@@ -264,6 +265,7 @@
         finally:
             threading._start_new_thread = _start_new_thread
 
+    @test.test_support.cpython_only
     def test_finalize_runnning_thread(self):
         # Issue 1402: the PyGILState_Ensure / _Release functions may be called
         # very late on python exit: on deallocation of a running thread for



More information about the Pypy-commit mailing list