Searched refs:test_closure (Results 1 - 4 of 4) sorted by relevance

/prebuilts/gdb/darwin-x86/lib/python2.7/test/
H A Dtest_new.py96 def test_closure(func, closure, exc): function in function:NewTest.test_function
99 test_closure(g, None, TypeError) # invalid closure
100 test_closure(g, (1,), TypeError) # non-cell in closure
101 test_closure(g, (1, 1), ValueError) # closure is wrong size
102 test_closure(f, g.func_closure, ValueError) # no closure needed
/prebuilts/gdb/linux-x86/lib/python2.7/test/
H A Dtest_new.py96 def test_closure(func, closure, exc): function in function:NewTest.test_function
99 test_closure(g, None, TypeError) # invalid closure
100 test_closure(g, (1,), TypeError) # non-cell in closure
101 test_closure(g, (1, 1), ValueError) # closure is wrong size
102 test_closure(f, g.func_closure, ValueError) # no closure needed
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
H A Dtest_new.py96 def test_closure(func, closure, exc): function in function:NewTest.test_function
99 test_closure(g, None, TypeError) # invalid closure
100 test_closure(g, (1,), TypeError) # non-cell in closure
101 test_closure(g, (1, 1), ValueError) # closure is wrong size
102 test_closure(f, g.func_closure, ValueError) # no closure needed
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
H A Dtest_new.py96 def test_closure(func, closure, exc): function in function:NewTest.test_function
99 test_closure(g, None, TypeError) # invalid closure
100 test_closure(g, (1,), TypeError) # non-cell in closure
101 test_closure(g, (1, 1), ValueError) # closure is wrong size
102 test_closure(f, g.func_closure, ValueError) # no closure needed

Completed in 238 milliseconds