Use assertIdentical instead of the other thing.