[Zope3-checkins] CVS: Zope3/src/zope/i18n/tests - test_formats.py:1.12

Jim Fulton jim at zope.com
Fri Mar 5 17:10:00 EST 2004


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

Modified Files:
	test_formats.py 
Log Message:
Renamed interface methods:

isImplementedByInstancesOf to implementedBy
  isImplementedBy            to providedBy


=== Zope3/src/zope/i18n/tests/test_formats.py 1.11 => 1.12 ===
--- Zope3/src/zope/i18n/tests/test_formats.py:1.11	Thu Feb  5 17:52:33 2004
+++ Zope3/src/zope/i18n/tests/test_formats.py	Fri Mar  5 17:09:28 2004
@@ -214,7 +214,7 @@
     format = DateTimeFormat(calendar=LocaleCalendarStub())
 
     def testInterfaceConformity(self):
-        self.assert_(IDateTimeFormat.isImplementedBy(self.format))
+        self.assert_(IDateTimeFormat.providedBy(self.format))
 
     def testParseSimpleDateTime(self):
         # German short
@@ -549,7 +549,7 @@
         'infinity': 'oo', 'nan': 'N/A'})
 
     def testInterfaceConformity(self):
-        self.assert_(INumberFormat.isImplementedBy(self.format))
+        self.assert_(INumberFormat.providedBy(self.format))
 
     def testParseSimpleInteger(self):
         self.assertEqual(self.format.parse('23341', '###0'),




More information about the Zope3-Checkins mailing list