(self)
| 1080 | assert source_ndarray(v.values) is d2 |
| 1081 | |
| 1082 | def test_numpy_same_methods(self): |
| 1083 | v = Variable([], np.float32(0.0)) |
| 1084 | assert v.item() == 0 # type: ignore[attr-defined] |
| 1085 | assert type(v.item()) is float # type: ignore[attr-defined] |
| 1086 | |
| 1087 | v = IndexVariable("x", np.arange(5)) |
| 1088 | assert 2 == v.searchsorted(2) # type: ignore[attr-defined] |
| 1089 | |
| 1090 | @pytest.mark.parametrize( |
| 1091 | "values, unit", |
nothing calls this directly
no test coverage detected