Merge pull request #5225 from prometheanfire/devel
tests depend on the default encoding being utf8
This commit is contained in:
commit
acf73bc336
1 changed files with 4 additions and 0 deletions
|
@ -10,6 +10,10 @@ from nose.plugins.skip import SkipTest
|
||||||
import ansible.utils
|
import ansible.utils
|
||||||
import ansible.utils.template as template2
|
import ansible.utils.template as template2
|
||||||
|
|
||||||
|
import sys
|
||||||
|
reload(sys)
|
||||||
|
sys.setdefaultencoding("utf8")
|
||||||
|
|
||||||
class TestUtils(unittest.TestCase):
|
class TestUtils(unittest.TestCase):
|
||||||
|
|
||||||
#####################################
|
#####################################
|
||||||
|
|
Loading…
Reference in a new issue