def test_epilog_setting_old_python(self):
        """We set the epilog on new python >= 2.4 versions"""
        mock_platform = mock.Mock(platform)

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

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

        self.assertEqual(py_platform, "new")
dataset/ETHPy150Open RHInception/jsonstats/test/test_parser.py/TestParser.test_epilog_setting_old_python/operator `==` -> `is not`