[Checkins] SVN: zope.schema/branches/tseaver-test_cleanup/src/zope/schema/tests/test_dotted_name.py Suppress a DeprecationWarning under Python 3.2.

Tres Seaver cvs-admin at zope.org
Fri Apr 20 15:35:00 UTC 2012


Log message for revision 125213:
  Suppress a DeprecationWarning under Python 3.2.

Changed:
  U   zope.schema/branches/tseaver-test_cleanup/src/zope/schema/tests/test_dotted_name.py

-=-
Modified: zope.schema/branches/tseaver-test_cleanup/src/zope/schema/tests/test_dotted_name.py
===================================================================
--- zope.schema/branches/tseaver-test_cleanup/src/zope/schema/tests/test_dotted_name.py	2012-04-20 15:34:53 UTC (rev 125212)
+++ zope.schema/branches/tseaver-test_cleanup/src/zope/schema/tests/test_dotted_name.py	2012-04-20 15:34:57 UTC (rev 125213)
@@ -53,7 +53,7 @@
     def testFromUnicode(self):
         from zope.schema._compat import u
         field = self._makeOne()
-        self.assertEquals(field.fromUnicode(u('foo')), 'foo')
+        self.assertEqual(field.fromUnicode(u('foo')), 'foo')
 
 
 def test_suite():



More information about the checkins mailing list