'Verify the module has the expected value for __package__ after
passing through set_package.'

def verify(self, module, expect):

    fxn = (lambda : module)
    wrapped = self.util.set_package(fxn)
    with warnings.catch_warnings():
        warnings.simplefilter('ignore', DeprecationWarning)
        wrapped()
    self.assertTrue(hasattr(module, '__package__'))
    self.assertEqual(expect, module.__package__)
