[pypy-svn] r56093 - pypy/branch/async-del/pypy/interpreter/test
arigo at codespeak.net
arigo at codespeak.net
Thu Jun 26 21:29:22 CEST 2008
Author: arigo
Date: Thu Jun 26 21:29:22 2008
New Revision: 56093
Modified:
pypy/branch/async-del/pypy/interpreter/test/test_executioncontext.py
Log:
Fix test.
Modified: pypy/branch/async-del/pypy/interpreter/test/test_executioncontext.py
==============================================================================
--- pypy/branch/async-del/pypy/interpreter/test/test_executioncontext.py (original)
+++ pypy/branch/async-del/pypy/interpreter/test/test_executioncontext.py Thu Jun 26 21:29:22 2008
@@ -12,7 +12,7 @@
class DemoAction(executioncontext.AsyncAction):
counter = 0
- def perform(self):
+ def perform(self, ec):
self.counter += 1
if self.counter == 10:
raise Finished
@@ -42,7 +42,7 @@
class DemoAction(executioncontext.PeriodicAsyncAction):
counter = 0
- def perform(self):
+ def perform(self, ec):
self.counter += 1
print '->', self.counter
if self.counter == 3:
More information about the Pypy-commit
mailing list