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 
idx_dim = 8
        tgt_dim = 5
        batch_dim = 3
        
        a = torch.randn(batch_dim, tgt_dim, d=d)
        idx = torch.full((idx_dim,), tgt_dim, d=d)
        c = torch.zeros(batch_dim, idx_dim, d=d)
        with self.assertRaises(IndexError):
            a.index_copy_(1, idx, c)
        
        idx = torch.full((idx_dim,), -1, d=d)
        with self.assertRaises(IndexError):
            a.index_copy_(1, idx, c)
        
        
        idx = torch.full((idx_dim,), -tgt_dim - 1, d=d)
        with self.assertRaises(IndexError):
            a.index_copy_(1, idx, c)
    def _prepare_data_for_index_copy_and_add_deterministic(