Author: Alex Gaynor <[email protected]>
Branch: kill-faking
Changeset: r59255:dde805ff7ad0
Date: 2012-12-02 14:51 -0800
http://bitbucket.org/pypy/pypy/changeset/dde805ff7ad0/
Log: remove a test for a feature which was removed
diff --git a/pypy/tool/pytest/test/test_pytestsupport.py
b/pypy/tool/pytest/test/test_pytestsupport.py
--- a/pypy/tool/pytest/test/test_pytestsupport.py
+++ b/pypy/tool/pytest/test/test_pytestsupport.py
@@ -80,21 +80,6 @@
assert not appex.errisinstance(A)
-def test_fakedexception(space):
- from cPickle import PicklingError
- def raise_error():
- raise PicklingError("SomeMessage")
- space.setitem(space.builtin.w_dict, space.wrap('raise_error'),
- space.wrap(raise_error))
-
- try:
- space.appexec([], "(): raise_error()")
- except OperationError, e:
- appex = AppExceptionInfo(space, e)
- else:
- py.test.fail("did not raise!")
- assert "PicklingError" in appex.exconly()
-
class AppTestWithWrappedInterplevelAttributes:
def setup_class(cls):
space = cls.space
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit