[pypy-svn] r28945 - pypy/dist/pypy/module/_stackless/test

stephan at codespeak.net stephan at codespeak.net
Mon Jun 19 14:34:20 CEST 2006


Author: stephan
Date: Mon Jun 19 14:34:19 2006
New Revision: 28945

Modified:
   pypy/dist/pypy/module/_stackless/test/test_stackless.py
Log:
compatablity to run with pypy-c and c-stackless also


Modified: pypy/dist/pypy/module/_stackless/test/test_stackless.py
==============================================================================
--- pypy/dist/pypy/module/_stackless/test/test_stackless.py	(original)
+++ pypy/dist/pypy/module/_stackless/test/test_stackless.py	Mon Jun 19 14:34:19 2006
@@ -1,4 +1,5 @@
 from pypy.conftest import gettestobjspace, skip_on_missing_buildoption
+from py.test import skip
 
 
 class AppTest_Stackless:
@@ -43,7 +44,7 @@
 
         main()
 
-        assert stackless.getcurrent() is stackless.main_tasklet
+        assert stackless.getcurrent() is stackless.getmain()
         assert rlist == 'm g f m'.split()
 
     def test_with_channel(self):



More information about the Pypy-commit mailing list