Searched refs:test_closure (Results 1 - 2 of 2) sorted by relevance
/external/python/cpython2/Lib/test/ |
H A D | test_new.py | 96 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
|
/external/python/cpython3/Lib/test/ |
H A D | test_fstring.py | 463 def test_closure(self): function
|
Completed in 103 milliseconds