Print the actual values with scalar mismatch. (#95879)
When you do assertEqual between two ints, previously it would only print
```
Absolute difference: 1
Relative difference: 0.3333333333333333
```
Now it prints:
```
Expected 3 but got 2.
Absolute difference: 1
Relative difference: 0.3333333333333333
```
Signed-off-by: Edward Z. Yang <ezyang@meta.com>
Pull Request resolved: https://github.com/pytorch/pytorch/pull/95879
Approved by: https://github.com/dagitses, https://github.com/albanD