def test_epilog_setting_old_python(self):
        mock_platform = mock.Mock(platform)

        mock_python_version_tuple = mock.Mock(return_value=('2', '4', '3'))
        mock_platform.python_version_tuple.return_value = mock_python_version_tuple()

        (major, minor, patch) = mock_platform.python_version_tuple()
        if int(major) == 2 and int(minor) < 5:
            py_platform = "old"
        else:
            py_platform = "new"

        self.assertEqual(py_platform, "old")
We don't set the epilog on old python <= 2.4 versions
dataset/ETHPy150Open RHInception/jsonstats/test/test_parser.py/TestParser.test_epilog_setting_old_python