blob: f53bc5a0ddb23d88b85e422dd4f2655be191e703 (
plain)
1
2
3
4
5
6
|
# 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)
|