Did I find the right examples for you? yes no Crawl my project Python Jobs
All Samples(4) | Call(3) | Derive(0) | Import(1)
partial(func, *args, **keywords) - new function with partial application of the given arguments and keywords.
src/l/i/list115utils-1.0.1/list115utils/test/test_listutils.py list115utils(Download)
self.assertEqual(map1_n(f_dbl, 0), []) from list115utils import empty_lists class TestEmptyLists(TestListUtils): def test_empty_lists_returns_correct_number_of_lists(self): self.assertSequenceEqual(list(empty_lists(5)), [[],[],[],[],[]]) def test_empty_lists_works_with_1(self): self.assertSequenceEqual(list(empty_lists(1)), [[]])
def test_empty_lists_works_with_0(self): self.assertSequenceEqual(list(empty_lists(0)), []) from list115utils import listor_ class TestListOr_(TestListUtils):