swift/test/__init__.py

8 lines
189 B
Python
Raw Normal View History

2010-12-22 16:36:31 +00:00
# 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)