(layers)
| 129 | |
| 130 | @pytest.mark.parametrize("layers", [False, True]) |
| 131 | def test_checkpoint(layers): |
| 132 | t1, t2, cnt = demo_tuples(layers) |
| 133 | cp = checkpoint(t1, {"x": [t2]}) |
| 134 | assert cp.compute(scheduler="sync") is None |
| 135 | assert cnt.n == 5 |
| 136 | |
| 137 | |
| 138 | @pytest.mark.skipif("not da or not dd") |
nothing calls this directly
no test coverage detected