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)