Skip to content

Commit

Permalink
replace assertEquals
Browse files Browse the repository at this point in the history
  • Loading branch information
mdvandamme committed Oct 22, 2024
1 parent 029fbf7 commit c91e353
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions test/core/test_obs_coords.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ class TestCoords(TestCase):
def test_azimuth(self):
c1 = ENUCoords(0.0, 0.0, 0)
c2 = ENUCoords(1.0, 0.0, 0)
self.assertEquals(degrees(c1.azimuthTo(c2)), 90.0)
self.assertEquals(degrees(c2.azimuthTo(c1)), -90.0)
self.assertEqual(degrees(c1.azimuthTo(c2)), 90.0)
self.assertEqual(degrees(c2.azimuthTo(c1)), -90.0)

c1 = ENUCoords(25.0, 45.0, 0)
c2 = ENUCoords(75.0, 100.0, 0)
Expand Down
2 changes: 1 addition & 1 deletion test/core/test_track.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def test_export(self):
self.trace2.summary()

wkt = self.trace1.toWKT()
self.assertEquals(wkt, "LINESTRING(1.0 5.0)")
self.assertEqual(wkt, "LINESTRING(1.0 5.0)")


def test_create_and_init_af(self):
Expand Down

0 comments on commit c91e353

Please sign in to comment.