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 
return torch.arange(4)
            with self.assertRaisesRegex(expected_error, re.escape(str(message()))):
                check_fn(False, message)
            
            def message():
                return f"{'test'} {[1, 2, 'a', True]} {True} {100} {torch.arange(4)}"
            with self.assertRaisesRegex(expected_error, re.escape(str(message()))):
                check_fn(False, message)
            
            with self.assertRaisesRegex(TypeError, 'cond must be a bool'):
                check_fn('wrong ')
            with self.assertRaisesRegex(TypeError, 'cond must be a bool'):
                check_fn(torch.tensor(True))
    
    def test_index_add(self):