• Home
  • Raw
  • Download

Lines Matching refs:meth

166    ``failUnlessEqual(a, b)``         :meth:`assertEqual(a, b)
168 ``assertEquals(a, b)`` :meth:`assertEqual(a, b)
170 ``failIfEqual(a, b)`` :meth:`assertNotEqual(a, b)
172 ``assertNotEquals(a, b)`` :meth:`assertNotEqual(a, b)
174 ``failUnless(a)`` :meth:`assertTrue(a)
176 ``assert_(a)`` :meth:`assertTrue(a)
178 ``failIf(a)`` :meth:`assertFalse(a)
180 ``failUnlessRaises(exc, cal)`` :meth:`assertRaises(exc, cal)
182 ``failUnlessAlmostEqual(a, b)`` :meth:`assertAlmostEqual(a, b)
184 ``assertAlmostEquals(a, b)`` :meth:`assertAlmostEqual(a, b)
186 ``failIfAlmostEqual(a, b)`` :meth:`assertNotAlmostEqual(a, b)
188 ``assertNotAlmostEquals(a, b)`` :meth:`assertNotAlmostEqual(a, b)
204 Fixes dictionary iteration methods. :meth:`dict.iteritems` is converted to
205 :meth:`dict.items`, :meth:`dict.iterkeys` to :meth:`dict.keys`, and
206 :meth:`dict.itervalues` to :meth:`dict.values`. Similarly,
207 :meth:`dict.viewitems`, :meth:`dict.viewkeys` and :meth:`dict.viewvalues` are
208 converted respectively to :meth:`dict.items`, :meth:`dict.keys` and
209 :meth:`dict.values`. It also wraps existing usages of :meth:`dict.items`,
210 :meth:`dict.keys`, and :meth:`dict.values` in a call to :class:`list`.
323 Fixes old method attribute names. For example, ``meth.im_func`` is converted
324 to ``meth.__func__``.
332 Converts the use of iterator's :meth:`~iterator.next` methods to the
333 :func:`next` function. It also renames :meth:`next` methods to
334 :meth:`~iterator.__next__`.
338 Renames :meth:`__nonzero__` to :meth:`~object.__bool__`.
414 Fixes the API change in generator's :meth:`throw` method.