aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-07-24 18:56:26 +0200
committerChristian Grothoff <christian@grothoff.org>2017-07-24 18:56:26 +0200
commit09d06d08c6a55abc81557a87a778660f739ba327 (patch)
tree555620783db1f708e5d562624971a37ed223fe1f
parentb669f8b6bd975be760fd9e63d8c63d1d1afdc4fc (diff)
downloadgnunet-09d06d08c6a55abc81557a87a778660f739ba327.tar.gz
gnunet-09d06d08c6a55abc81557a87a778660f739ba327.zip
fix #5094 as suggested by reporter
-rwxr-xr-xsrc/fs/test_gnunet_fs_psd.py.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
index c5966d48a..87fcf1130 100755
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ b/src/fs/test_gnunet_fs_psd.py.in
@@ -24,6 +24,11 @@ import subprocess
24import re 24import re
25import shutil 25import shutil
26 26
27# Force encoding to utf-8, as this test otherwise fails
28# on some systems (see #5094).
29reload(sys)
30sys.setdefaultencoding('utf8')
31
27srcdir = "../.." 32srcdir = "../.."
28gnunet_pyexpect_dir = os.path.join (srcdir, "contrib") 33gnunet_pyexpect_dir = os.path.join (srcdir, "contrib")
29if gnunet_pyexpect_dir not in sys.path: 34if gnunet_pyexpect_dir not in sys.path: