Individual tests are not yet fully compatible with Python 3. Some still have issues with I/O encoding/decoding. The painful part...
10 lines
139 B
Python
10 lines
139 B
Python
# -*- coding: utf-8 -*-
|
|
|
|
try:
|
|
STRING_TYPE = basestring
|
|
except NameError:
|
|
# Python 3
|
|
STRING_TYPE = str
|
|
|
|
# vim: ai sts=4 et sw=4
|