Author: Armin Rigo <ar...@tunes.org> Branch: stm Changeset: r51627:a18852e15aae Date: 2012-01-22 10:52 +0100 http://bitbucket.org/pypy/pypy/changeset/a18852e15aae/
Log: Fix test_interp_transaction. diff --git a/pypy/module/transaction/test/test_interp_transaction.py b/pypy/module/transaction/test/test_interp_transaction.py --- a/pypy/module/transaction/test/test_interp_transaction.py +++ b/pypy/module/transaction/test/test_interp_transaction.py @@ -3,8 +3,14 @@ class FakeSpace: - def new_exception_class(self, name): - return "some error class" + def getbuiltinmodule(self, name): + assert name == 'transaction' + return 'transaction module' + def getattr(self, w_obj, w_name): + assert w_obj == 'transaction module' + return 'some stuff from the transaction module' + def wrap(self, x): + return 'wrapped stuff' def call_args(self, w_callback, args): w_callback(*args) _______________________________________________ pypy-commit mailing list pypy-commit@python.org http://mail.python.org/mailman/listinfo/pypy-commit