mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-06 13:22:48 +00:00
tests depend on the default encoding being utf8
So we set the utils default encoding to be utf8
This commit is contained in:
@@ -10,6 +10,10 @@ from nose.plugins.skip import SkipTest
|
||||
import ansible.utils
|
||||
import ansible.utils.template as template2
|
||||
|
||||
import sys
|
||||
reload(sys)
|
||||
sys.setdefaultencoding("utf8")
|
||||
|
||||
class TestUtils(unittest.TestCase):
|
||||
|
||||
#####################################
|
||||
|
||||
Reference in New Issue
Block a user