

def test_pad_to_size(self):
    x = np.ones((2, 2))
    y = np.array([[1, 1, 0], [1, 1, 0], [0, 0, 0]])
    y1 = dd.util.pad_to_size(x, (3, 3), value=0.0)
    np.testing.assert_array_equal(self, y1)

dataset/ETHPy150Open uchicago-cs/deepdish/deepdish/tests/test_util.py TestUtil.test_pad_to_size/VarMisuse@83/91 `y`->`self`