[pypy-svn] pypy default: Skip this test: we don't have a fully implemented restricted mode

arigo commits-noreply at bitbucket.org
Sat Jan 29 18:47:43 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r41453:17541a4e9723
Date: 2011-01-29 18:47 +0100
http://bitbucket.org/pypy/pypy/changeset/17541a4e9723/

Log:	Skip this test: we don't have a fully implemented restricted mode in
	pypy anyway (what's the point? it's completely insecure in CPython
	too nowadays).

diff --git a/lib-python/modified-2.7.0/test/pickletester.py b/lib-python/modified-2.7.0/test/pickletester.py
--- a/lib-python/modified-2.7.0/test/pickletester.py
+++ b/lib-python/modified-2.7.0/test/pickletester.py
@@ -1092,6 +1092,7 @@
         s = StringIO.StringIO("X''.")
         self.assertRaises(EOFError, self.module.load, s)
 
+    @impl_detail("no full restricted mode in pypy", pypy=False)
     def test_restricted(self):
         # issue7128: cPickle failed in restricted mode
         builtins = {self.module.__name__: self.module,


More information about the Pypy-commit mailing list