()
| 70 | |
| 71 | |
| 72 | def test_validate_key(): |
| 73 | validate_key(1) |
| 74 | validate_key(("x", 1)) |
| 75 | with pytest.raises(TypeError, match="Unexpected key type.*list"): |
| 76 | validate_key(["x", 1]) |
| 77 | |
| 78 | with pytest.raises(TypeError, match="unexpected key type at index=1"): |
| 79 | validate_key((2, int)) |
| 80 | |
| 81 | |
| 82 | def test_istask(): |
nothing calls this directly
no test coverage detected