CLN: Python 3.4 deprecation of assert_

#7131: replace some instances of assert_(not b) with assertFalse(b) and some instances of assert_(b) with assertTrue(b). Work-in-progress