swauth/test_swauth/__init__.py
Ondřej Nový b7e965c99f PEP8 fixies
Change-Id: I651729a368a9a804ad4431938ff70ddf0303a7c8
2015-11-15 17:16:09 +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)