def test_deleted_removed(self):
        dirname = tempfile.mkdtemp()
        filename = os.path.join(dirname, 'test_deleted_removed_module.py')
        self.addCleanup(shutil.rmtree, dirname)
        with open(filename, 'w'):
            pass

        with extend_sys_path(dirname):
            import_module('test_deleted_removed_module')
        self.assertFileFound(filename)

        os.unlink(filename)
        self.assertFileNotFound(filename)
Returns maximum path similarity between two senses.
dataset/ETHPy150Open django/django/tests/utils_tests/test_autoreload.py/TestFilenameGenerator.test_deleted_removed--crossover with--dataset/ETHPy150Open alvations/pywsd/pywsd/similarity.py/similarity_by_path