aboutsummaryrefslogtreecommitdiff
path: root/tests/functional_tests/functional_tests_rpc.py
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-06-01 23:13:29 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-09-17 11:38:34 +0000
commit75fe790634b961f68319121c150e3fd7e981ff2e (patch)
tree4379a78931b50d5b2bac9c878ba0aaecb219e68b /tests/functional_tests/functional_tests_rpc.py
parentfunctional_tests: python3 compatibility (diff)
downloadmonero-75fe790634b961f68319121c150e3fd7e981ff2e.tar.xz
fix wallet python test when run with ctest
Diffstat (limited to 'tests/functional_tests/functional_tests_rpc.py')
-rwxr-xr-xtests/functional_tests/functional_tests_rpc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/functional_tests/functional_tests_rpc.py b/tests/functional_tests/functional_tests_rpc.py
index b0954b921..9043565c7 100755
--- a/tests/functional_tests/functional_tests_rpc.py
+++ b/tests/functional_tests/functional_tests_rpc.py
@@ -64,6 +64,7 @@ try:
PYTHONPATH += srcdir + '/../../utils/python-rpc'
os.environ['PYTHONPATH'] = PYTHONPATH
os.environ['WALLET_DIRECTORY'] = WALLET_DIRECTORY
+ os.environ['PYTHONIOENCODING'] = 'utf-8'
for i in range(len(command_lines)):
#print('Running: ' + str(command_lines[i]))
processes.append(subprocess.Popen(command_lines[i], stdout = outputs[i]))