##// END OF EJS Templates
Added tag v1.6.0 for changeset 78b53ee0d247
Added tag v1.6.0 for changeset 78b53ee0d247

File last commit:

r3797:d7488551 beta
r3856:49af0d0a default
Show More
compat.py
13 lines | 266 B | text/x-python | PythonLexer
"""
Various utilities to work with Python < 2.7.
Those utilities may be deleted once ``vcs`` stops support for older Python
versions.
"""
import sys
if sys.version_info >= (2, 7):
unittest = __import__('unittest')
else:
unittest = __import__('unittest2')