py34: update tests/unit/__init__.py
Change-Id: Idf16d0360eefd255a08c83de708c6630ee7d9641
This commit is contained in:
parent
2205684915
commit
f78dc82ff8
|
@ -22,8 +22,8 @@
|
|||
|
||||
# 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)
|
||||
from six.moves import builtins
|
||||
setattr(builtins, '_', lambda x: x)
|
||||
|
||||
# NOTE(ft): this is required by test_s3.S3APITestCase to switch execution
|
||||
# between test and server threads
|
||||
|
|
Loading…
Reference in New Issue