Files
deb-python-nose-parameterized/nose_parameterized/compat.py
2014-01-22 14:46:14 -05:00

14 lines
276 B
Python

"""
A stripped down version of six.py, containing only the bits we actually need.
Kept minimal so that OS package maintainers don't need to patch out six.py.
"""
import sys
PY3 = sys.version_info[0] == 3
if PY3:
string_types = str,
else:
string_types = basestring,