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

arigo at codespeak.net arigo at codespeak.net
Tue Nov 7 13:18:57 CET 2006


Author: arigo
Date: Tue Nov  7 13:18:51 2006
New Revision: 34316

Modified:
   pypy/dist/pypy/module/_stackless/test/test_coroutine.py
Log:
Remove broken test.  The other skipped test now passes.


Modified: pypy/dist/pypy/module/_stackless/test/test_coroutine.py
==============================================================================
--- pypy/dist/pypy/module/_stackless/test/test_coroutine.py	(original)
+++ pypy/dist/pypy/module/_stackless/test/test_coroutine.py	Tue Nov  7 13:18:51 2006
@@ -51,7 +51,6 @@
             raise AssertionError("exception not propagated")
 
     def test_strange_test(self):
-        skip("test is failing for atm unknown reasons")
         from _stackless import coroutine
         def f():
             print "in new coro"
@@ -76,20 +75,6 @@
         b.bind(kill)
         b.switch()
 
-    def test_finished(self):
-        skip('should a coroutine be a zombie after being done?')
-        import _stackless as stackless
-        co = stackless.coroutine()
-        def f():
-            pass
-        co.bind(f)
-        co.switch()
-        # doing an assert here runs into some (infinite looking)
-        # cycle.
-        # Lots of "GC Warning: Finalization cycle involving xxxx"
-        if not co.is_zombie:
-            raise Exception('co should be a zombie now')
-
     def test_kill(self):
         import _stackless as stackless
         co = stackless.coroutine()



More information about the Pypy-commit mailing list