def METHOD_NAME(self):
    with setup_module(self.machinery, self.test_module, path="."):
        with warnings.catch_warnings():
            warnings.simplefilter("ignore", DeprecationWarning)
            loader = self.machinery.WindowsRegistryFinder.find_module(self.test_module)
        spec = self.machinery.WindowsRegistryFinder.find_spec(self.test_module)
        self.assertIsNone(loader)
        self.assertIsNone(spec)