Online and offline tests are not in synch. Offline tests expect re
and im
properties, while online tests expect real
and imaginary
properties. I think this needs to be fixed.
Both situations use the same tests. Where are re
and im
showing up for you?
In complex_numbers_test.py, for instance:
line 17:
def test_real_part_of_a_purely_real_number(self):
self.assertEqual(ComplexNumber(1, 0).re, 1)
line 28:
def test_imaginary_part_of_a_purely_real_number(self):
self.assertEqual(ComplexNumber(1, 0).im, 0)
Sorry, never mind, I must have messed up my local tests somehow.
Please delete this topic.