diff --git a/rhodecode/lib/compat.py b/rhodecode/lib/compat.py --- a/rhodecode/lib/compat.py +++ b/rhodecode/lib/compat.py @@ -32,6 +32,10 @@ from rhodecode import __py_version__, is #============================================================================== from rhodecode.lib.ext_json import json +if __py_version__ >= (2, 7): + import unittest +else: + import unittest2 as unittest #============================================================================== # izip_longest