(self)
| 1799 | |
| 1800 | @pytest.mark.filterwarnings("error::RuntimeWarning") |
| 1801 | def test_unstack_without_missing(self): |
| 1802 | v = Variable(["z"], [0, 1, 2, 3]) |
| 1803 | expected = Variable(["x", "y"], [[0, 1], [2, 3]]) |
| 1804 | |
| 1805 | actual = v.unstack(z={"x": 2, "y": 2}) |
| 1806 | |
| 1807 | assert_identical(actual, expected) |
| 1808 | |
| 1809 | def test_broadcasting_math(self): |
| 1810 | x = np.random.randn(2, 3) |
nothing calls this directly
no test coverage detected