Use assertEqual instead of assertEquals for Python 3.11 compatibility. (#374)
[pyelftools.git] / test / test_arm_call_reloc.py
index 354c3a72138ee9041c204bfca281b0bf7fd7d639..e23f25cfeb28ffdd74d868f371feaba78048dda6 100644 (file)
@@ -38,7 +38,7 @@ class TestARMRElocation(unittest.TestCase):
             elf = ELFFile(f)
 
             # Comparison of '.text' section data
-            self.assertEquals(do_relocation(rel_elf),
+            self.assertEqual(do_relocation(rel_elf),
                               elf.get_section_by_name('.text').data())
 
 if __name__ == '__main__':