Skip to content

Commit

Permalink
Replace remaining usage of assertEquals with assertEqual
Browse files Browse the repository at this point in the history
This fixes the tests on Python 3.12, where assertEquals was removed.
  • Loading branch information
mweinelt committed Feb 7, 2024
1 parent f8fc76d commit d7484cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Lib/fontParts/test/test_glyph.py
Original file line number Diff line number Diff line change
Expand Up @@ -1356,9 +1356,9 @@ def test_isEmpty_false_component(self):

def test_removeOverlap(self):
glyph = self.getGlyph_generic()
self.assertEquals(len(glyph), 2)
self.assertEqual(len(glyph), 2)
glyph.removeOverlap()
self.assertEquals(len(glyph), 1)
self.assertEqual(len(glyph), 1)


def test_generator(test_name, metric, value):
Expand Down

0 comments on commit d7484cd

Please sign in to comment.