[Checkins] SVN: RestrictedPython/trunk/src/RestrictedPython/tests/testRestrictions.py actually run the security_in_syntax26.py test
David Glick
davidglick at onenw.org
Thu Jul 8 00:19:10 EDT 2010
Log message for revision 114295:
actually run the security_in_syntax26.py test
Changed:
U RestrictedPython/trunk/src/RestrictedPython/tests/testRestrictions.py
-=-
Modified: RestrictedPython/trunk/src/RestrictedPython/tests/testRestrictions.py
===================================================================
--- RestrictedPython/trunk/src/RestrictedPython/tests/testRestrictions.py 2010-07-07 16:49:59 UTC (rev 114294)
+++ RestrictedPython/trunk/src/RestrictedPython/tests/testRestrictions.py 2010-07-08 04:19:10 UTC (rev 114295)
@@ -281,7 +281,7 @@
def _checkSyntaxSecurity(self, mod_name):
# Ensures that each of the functions in security_in_syntax.py
# throws a SyntaxError when using compile_restricted.
- fn = os.path.join(_HERE, 'security_in_syntax.py')
+ fn = os.path.join(_HERE, mod_name)
f = open(fn, 'r')
source = f.read()
f.close()
More information about the checkins
mailing list