[Zope-Checkins] CVS: Zope/lib/python/RestrictedPython/tests - restricted_module.py:1.10 security_in_syntax.py:1.4 testRestrictions.py:1.14

Martijn Pieters mj@zope.com
Wed, 14 Aug 2002 17:44:32 -0400


Update of /cvs-repository/Zope/lib/python/RestrictedPython/tests
In directory cvs.zope.org:/tmp/cvs-serv15625/tests

Modified Files:
	restricted_module.py security_in_syntax.py testRestrictions.py 
Log Message:
Clean up indentation and trailing whitespace.


=== Zope/lib/python/RestrictedPython/tests/restricted_module.py 1.9 => 1.10 ===
--- Zope/lib/python/RestrictedPython/tests/restricted_module.py:1.9	Tue Nov 13 17:42:04 2001
+++ Zope/lib/python/RestrictedPython/tests/restricted_module.py	Wed Aug 14 17:44:31 2002
@@ -58,7 +58,7 @@
     s = s[:100] + 'b'
     s += 'c'
     _ = q
-    
+
     return q['x'] + q['y'] + q['z'] + r[0] + r[1] + r[2] + s
 
 def allowed_write(ob):
@@ -97,7 +97,7 @@
 def denied_getitem2(ob):
     #ob[1] += 1
     ob[1]
-    
+
 def denied_setitem(ob):
     ob['x'] = 2
 
@@ -154,4 +154,3 @@
     def f2():
         return a
     return f1() + f2()
-


=== Zope/lib/python/RestrictedPython/tests/security_in_syntax.py 1.3 => 1.4 ===
--- Zope/lib/python/RestrictedPython/tests/security_in_syntax.py:1.3	Thu Jun 21 13:45:14 2001
+++ Zope/lib/python/RestrictedPython/tests/security_in_syntax.py	Wed Aug 14 17:44:31 2002
@@ -1,4 +1,3 @@
-
 # These are all supposed to raise a SyntaxError when using
 # compile_restricted() but not when using compile().
 # Each function in this module is compiled using compile_restricted().


=== Zope/lib/python/RestrictedPython/tests/testRestrictions.py 1.13 => 1.14 ===
--- Zope/lib/python/RestrictedPython/tests/testRestrictions.py:1.13	Wed Jun 12 16:39:19 2002
+++ Zope/lib/python/RestrictedPython/tests/testRestrictions.py	Wed Aug 14 17:44:31 2002
@@ -1,4 +1,3 @@
-
 from string import rfind
 import sys, os
 
@@ -283,7 +282,7 @@
     runner.run(alltests)
 
 def debug():
-   test_suite().debug()
+    test_suite().debug()
 
 def pdebug():
     import pdb