[Zope3-checkins] CVS: Zope3/src/zope/security/tests - test_checker.py:1.6

Steve Alexander steve@cat-box.net
Wed, 23 Apr 2003 13:38:50 -0400


Update of /cvs-repository/Zope3/src/zope/security/tests
In directory cvs.zope.org:/tmp/cvs-serv1481/src/zope/security/tests

Modified Files:
	test_checker.py 
Log Message:
Made the checker for ClassType objects more sensible.


=== Zope3/src/zope/security/tests/test_checker.py 1.5 => 1.6 ===
--- Zope3/src/zope/security/tests/test_checker.py:1.5	Fri Mar  7 16:13:04 2003
+++ Zope3/src/zope/security/tests/test_checker.py	Wed Apr 23 13:38:49 2003
@@ -179,7 +179,9 @@
 
         for rock in (1, 1.0, 1l, 1j,
                      '1', u'1', None,
-                     AttributeError, AttributeError(),
+                     AttributeError(),
+                     # Not AttributeError though. No reason to consider
+                     # exception classes as rocks.
                      ):
             proxy = checker.proxy(rock)