CLN: Deprecation of assertEquals

#7131: s/self.assertEquals(/self.assertEqual(
Merge pull request #7165 from bwignall/issue7131_assertEquals

CLN: Deprecation of assertEquals