CLN: Deprecation of assert_

#7131: Convert more instances of self.assert_(not b) to self.assertFalse(b) and self.assert_(b) to self.assertTrue(b)
Merge pull request #7164 from bwignall/issue7131_assert2

CLN: Deprecation of assert_