[Zodb-checkins] CVS: Zope3/src/zope/interface/tests - iadapter.py:1.4

Jim Fulton jim at zope.com
Sat May 3 13:37:26 EDT 2003


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

Modified Files:
	iadapter.py 
Log Message:
Removed some tests that don't make sense.  It makes no sense to have
an adapter that provides None.



=== Zope3/src/zope/interface/tests/iadapter.py 1.3 => 1.4 ===
--- Zope3/src/zope/interface/tests/iadapter.py:1.3	Fri Apr 18 18:12:32 2003
+++ Zope3/src/zope/interface/tests/iadapter.py	Sat May  3 12:37:26 2003
@@ -91,10 +91,6 @@
             for P in [P1, P2, P3]:
                 self.assertEqual(registry.getForObject(c, P), 'R2 P3')
 
-        for R in [None, R1, R2, R3, R4, (R12, R2), (R12, R4)]:
-            directlyProvides(c, R)
-            self.assertEqual(registry.getForObject(c, None), None)
-
         directlyProvides(c, R1)
         for P in [P1, P2, P3]:
             self.assertEqual(registry.getForObject(c, P), 'any P3')




More information about the Zodb-checkins mailing list