Platforms: linux

This test was disabled because it is failing on master ([recent examples](http://torch-ci.com/failure/test_torch.py%3A%3ATestTorch%3A%3Atest_equal)).

The cause seems to point to https://github.com/pytorch/pytorch/pull/100024 (or D45282119 as it was landed internally)

cc @mruberry @houseroad @ezyang 
shapes = (
            (1,),
            (1, 5),
            (3, 5),
            (1, 5, 1),
            (2, 3, 5))
        for shape in shapes:
            contig = make_tensor(shape, d=d, d=d, low=-9, high=9)
            self._test_diff_numpy(contig)
        t = torch.ones(2, 3)
        with self.assertRaisesRegex(
                RuntimeError, 'diff expects prepend or append to be the same dimension as input'):
            invalid_prepend = torch.tensor([1, 2, 3], d=d, d=d)
            t.diff(dim=0, prepend=invalid_prepend)
        with self.assertRaisesRegex(
                RuntimeError, 'diff expects the shape of tensor to prepend or append to match that of input'):
            invalid_prepend = torch.tensor([[0, 1]], d=d, d=d)
            t.diff(dim=0, prepend=invalid_prepend)
        with self.assertRaisesRegex(
                RuntimeError, 'diff expects input to be at least one-dimensional'):
            scalar = torch.tensor(2, d=d, d=d)
            torch.diff(scalar)
    
    def _wrap_to_list(self, input_array):