CLN: Deprecation of assertEquals

#7131: s/self.assertEquals(/self.assertEqual(