()
| 334 | |
| 335 | |
| 336 | def test_functions_of(): |
| 337 | a = lambda x: x |
| 338 | b = lambda x: x |
| 339 | assert functions_of((a, 1)) == {a} |
| 340 | assert functions_of((a, (b, 1))) == {a, b} |
| 341 | assert functions_of((a, [(b, 1)])) == {a, b} |
| 342 | assert functions_of((a, [[[(b, 1)]]])) == {a, b} |
| 343 | assert functions_of(1) == set() |
| 344 | assert functions_of(a) == set() |
| 345 | assert functions_of((a,)) == {a} |
| 346 | |
| 347 | |
| 348 | def test_inline_cull_dependencies(): |
nothing calls this directly
no test coverage detected