/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_builtin.py | 17 class Squares: 507 self.assertEqual(filter(None, Squares(10)), [1, 4, 9, 16, 25, 36, 49, 64, 81]) 508 self.assertEqual(filter(lambda x: x%2, Squares(10)), [1, 9, 25, 49, 81]) 511 filter(identity, Squares(5)) 825 map(None, Squares(10)), 829 map(int, Squares(10)), 833 map(None, Squares(3), Squares(2)), 837 map(max, Squares(3), Squares(2)) [all...] |
test_functools.py | 323 class Squares: 350 self.assertEqual(reduce(lambda x, y: x+y, Squares(10)), 285) 351 self.assertEqual(reduce(lambda x, y: x+y, Squares(10), 0), 285) 352 self.assertEqual(reduce(lambda x, y: x+y, Squares(0), 0), 0)
|
test_grammar.py | 620 class Squares: 633 for x in Squares(10): n = n+x
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_builtin.py | 17 class Squares: 507 self.assertEqual(filter(None, Squares(10)), [1, 4, 9, 16, 25, 36, 49, 64, 81]) 508 self.assertEqual(filter(lambda x: x%2, Squares(10)), [1, 9, 25, 49, 81]) 511 filter(identity, Squares(5)) 825 map(None, Squares(10)), 829 map(int, Squares(10)), 833 map(None, Squares(3), Squares(2)), 837 map(max, Squares(3), Squares(2)) [all...] |
test_functools.py | 323 class Squares: 350 self.assertEqual(reduce(lambda x, y: x+y, Squares(10)), 285) 351 self.assertEqual(reduce(lambda x, y: x+y, Squares(10), 0), 285) 352 self.assertEqual(reduce(lambda x, y: x+y, Squares(0), 0), 0)
|
test_grammar.py | 620 class Squares: 633 for x in Squares(10): n = n+x
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py2_test_grammar.py | 602 class Squares: 615 for x in Squares(10): n = n+x
|
py3_test_grammar.py | 546 class Squares: 559 for x in Squares(10): n = n+x
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/lib2to3/tests/data/ |
py2_test_grammar.py | 602 class Squares: 615 for x in Squares(10): n = n+x
|
py3_test_grammar.py | 546 class Squares: 559 for x in Squares(10): n = n+x
|