()
| 65 | |
| 66 | |
| 67 | def test_flatten_odd_value(): |
| 68 | # Anything other than tuple and dict should be treated as a |
| 69 | # scalar and passed through |
| 70 | expected = [0, sum, Input("foo", "bar")] |
| 71 | vals_collection = (0, (sum, Input("foo", "bar"))) |
| 72 | result = flatten_grouping(vals_collection) |
| 73 | assert expected == result |
| 74 | assert len(result) == grouping_len(vals_collection) |
| 75 | |
| 76 | |
| 77 | # Test make_grouping_by_position |
nothing calls this directly
no test coverage detected
searching dependent graphs…