[Zope3-checkins] CVS: Zope3/src/zope/context/tests - test_wrapperinteraction.py:1.9

Steve Alexander steve@cat-box.net
Sat, 14 Jun 2003 08:53:29 -0400


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

Modified Files:
	test_wrapperinteraction.py 
Log Message:
Changed test to use new-style classes. I had accidentally left it using
classic classes.
Added set of special names to ignore when making attributes of a class
into ContextDescriptors.


=== Zope3/src/zope/context/tests/test_wrapperinteraction.py 1.8 => 1.9 ===
--- Zope3/src/zope/context/tests/test_wrapperinteraction.py:1.8	Sat Jun 14 08:32:38 2003
+++ Zope3/src/zope/context/tests/test_wrapperinteraction.py	Sat Jun 14 08:53:28 2003
@@ -555,7 +555,7 @@
 
         # Check that nothing in particular happens if the class doesn't
         # have the advice, but its superclass does.
-        class SuperX:
+        class SuperX(object):
 
             ndd = normal_data_descriptor
             nd = normal_descriptor
@@ -566,7 +566,7 @@
         self.assert_(X.ndd is normal_data_descriptor)
         self.assert_(X.nd is normal_descriptor)
 
-        class X:
+        class X(object):
             ContextAwareDescriptors()
 
             cm = context_method