()
| 63 | |
| 64 | |
| 65 | def test_remove_allpaths(): |
| 66 | z = hp.uniform("z", 0, 10) |
| 67 | a = hp.choice("a", [z + 1, z - 1]) |
| 68 | hps = {} |
| 69 | expr_to_config(a, (True,), hps) |
| 70 | aconds = hps["a"]["conditions"] |
| 71 | zconds = hps["z"]["conditions"] |
| 72 | assert aconds == {(True,)}, aconds |
| 73 | assert zconds == {(True,)}, zconds |
| 74 | |
| 75 | |
| 76 | def test_remove_allpaths_int(): |
nothing calls this directly
no test coverage detected