def METHOD_NAME(self):
    import package_a
    import package_a.subpackage
    self.assertIs(sys_importer.import_module("package_a"), package_a)
    self.assertIs(
        sys_importer.import_module("package_a.subpackage"), package_a.subpackage
    )