diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-07-24 18:56:26 +0200 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-07-24 18:56:26 +0200 |
commit | 09d06d08c6a55abc81557a87a778660f739ba327 (patch) | |
tree | 555620783db1f708e5d562624971a37ed223fe1f /src/fs/test_gnunet_fs_psd.py.in | |
parent | b669f8b6bd975be760fd9e63d8c63d1d1afdc4fc (diff) | |
download | gnunet-09d06d08c6a55abc81557a87a778660f739ba327.tar.gz gnunet-09d06d08c6a55abc81557a87a778660f739ba327.zip |
fix #5094 as suggested by reporter
Diffstat (limited to 'src/fs/test_gnunet_fs_psd.py.in')
-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: |