[Zope-Checkins] CVS: Zope/lib/python/RestrictedPython/tests - testRestrictions.py:1.9.26.1
Tres Seaver
tseaver@zope.com
Mon, 15 Oct 2001 19:09:43 -0400
Update of /cvs-repository/Zope/lib/python/RestrictedPython/tests
In directory cvs.zope.org:/tmp/cvs-serv14739/lib/python/RestrictedPython/tests
Modified Files:
Tag: tseaver-utxfixup-branch
testRestrictions.py
Log Message:
- Remove dependencies on 'execfile( "framework.py" )' from unit tests.
=== Zope/lib/python/RestrictedPython/tests/testRestrictions.py 1.9 => 1.9.26.1 ===
from RestrictedPython import compile_restricted, PrintCollector
from RestrictedPython.Eval import RestrictionCapableEval
-import security_in_syntax
+from RestrictedPython.tests import security_in_syntax
from types import FunctionType
if __name__=='__main__':