diff options
-rwxr-xr-x | src/fs/test_gnunet_fs_psd.py.in | 5 |
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 | |||
24 | import re | 24 | import re |
25 | import shutil | 25 | import shutil |
26 | 26 | ||
27 | # Force encoding to utf-8, as this test otherwise fails | ||
28 | # on some systems (see #5094). | ||
29 | reload(sys) | ||
30 | sys.setdefaultencoding('utf8') | ||
31 | |||
27 | srcdir = "../.." | 32 | srcdir = "../.." |
28 | gnunet_pyexpect_dir = os.path.join (srcdir, "contrib") | 33 | gnunet_pyexpect_dir = os.path.join (srcdir, "contrib") |
29 | if gnunet_pyexpect_dir not in sys.path: | 34 | if gnunet_pyexpect_dir not in sys.path: |