Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(1)  |  Derive(0)  |  Import(0)

src/d/j/django-pgfields-HEAD/tests/coercive_lists/tests.py   django-pgfields(Download)
    def test_extend(self):
        l = CoerciveList(lambda i: int(i), ['1', '1'])
        l.extend(['2', 3, '5'])
        self.assertEqual(l, [1, 1, 2, 3, 5])