[Zope-Checkins] CVS: Zope3/lib/python/Interface/Common/tests - BaseTestMapping.py:1.3

Jim Fulton jim@zope.com
Mon, 10 Jun 2002 19:28:42 -0400


Update of /cvs-repository/Zope3/lib/python/Interface/Common/tests
In directory cvs.zope.org:/tmp/cvs-serv17445/lib/python/Interface/Common/tests

Modified Files:
	BaseTestMapping.py 
Log Message:
Merged Zope-3x-branch into newly forked Zope3 CVS Tree.


=== Zope3/lib/python/Interface/Common/tests/BaseTestMapping.py 1.2 => 1.3 ===
         self.assertEqual(inst[key], state[key])
         self.assertEqual(inst.get(key, None), state[key])
-        self.failUnless(inst.has_key(key))
+        self.failUnless(key in inst)
 
     for key in absent:
         self.assertEqual(inst.get(key, None), None)