Replace failUnless with the new spelling to fix a warning on Python 3.