(self)
| 1853 | v += Variable("y", np.arange(5)) |
| 1854 | |
| 1855 | def test_inplace_math_error(self): |
| 1856 | x = np.arange(5) |
| 1857 | v = IndexVariable(["x"], x) |
| 1858 | with pytest.raises( |
| 1859 | TypeError, match=r"Values of an IndexVariable are immutable" |
| 1860 | ): |
| 1861 | v += 1 |
| 1862 | |
| 1863 | def test_reduce(self): |
| 1864 | v = Variable(["x", "y"], self.d, {"ignored": "attributes"}) |
nothing calls this directly
no test coverage detected