def METHOD_NAME(self):
    # Test importing a module from a package through a relatve import.
    modules = ['a.__init__', 'a.b.__init__', 'a.c']
    with mock_modules(*modules) as mock:
        with import_state(meta_path=[mock]):
            module = importlib.import_module('..c', 'a.b')
            self.assertEqual(module.__name__, 'a.c')