def test_shortPythonVersion(self):
        ver = shortPythonVersion().split('.')
        for i in range(3):
            self.assertEqual(int(ver[i]), sys.version_info[i])
Verify if the Python version is returned correctly.
dataset/ETHPy150Open twisted/twisted/twisted/python/test/test_runtime.py/PythonVersionTests.test_shortPythonVersion