Make the irrelevant object a constant
Use repr for assert failure