def getVersion(self):
        namespace = {}
        directory = self.directory
        while not namespace:
            if directory.path == "/":
                raise Exception("Not inside a Twisted project.")
            elif not directory.basename() == "twisted":
                directory = directory.parent()
            else:
                execfile(directory.child("_version.py").path, namespace)
        return namespace["version"]
Case change page includes CaseVersion inline.
dataset/ETHPy150Open twisted/twisted/twisted/python/_release.py/Project.getVersion--crossover with--dataset/ETHPy150Open mozilla/moztrap/tests/model/library/admin/test_case.py/CaseAdminTest.test_change_page_version