swauth/test/__init__.py
Ondřej Nový 3e19273cc1 Change setup.py to OS one
Change-Id: Ia23c12de5f6448793aa3584e3041711d68b92953
2015-11-18 10:54:03 +01:00

7 lines
188 B
Python

# See http://code.google.com/p/python-nose/issues/detail?id=373
# The code below enables nosetests to work with i18n _() blocks
import __builtin__
setattr(__builtin__, '_', lambda x: x)