Closed hlabathems closed 6 years ago
I get the following error when running ./run_tests.py
Traceback (most recent call last): File "/Users/michaelhlabathe/lemon/test/test_database.py", line 2498, in test_star_closest_to_world_coords self.assertEqual(distance, 47.939281840122732) AssertionError: 47.93928184012274 != 47.93928184012273 ---------------------------------------------------------------------- Ran 48 tests in 61.142s FAILED (failures=1)
This was a bug in the unit test: it should use assertAlmostEqual() to compare the two floating point numbers, in the same way we do just a few lines above for the other distances. Thanks for reporting this!
I get the following error when running ./run_tests.py