aboutsummaryrefslogtreecommitdiff
path: root/src/fs/test_gnunet_fs_psd.py.in
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/test_gnunet_fs_psd.py.in')
-rwxr-xr-xsrc/fs/test_gnunet_fs_psd.py.in10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fs/test_gnunet_fs_psd.py.in b/src/fs/test_gnunet_fs_psd.py.in
index 0e191d4a4..4c91c6327 100755
--- a/src/fs/test_gnunet_fs_psd.py.in
+++ b/src/fs/test_gnunet_fs_psd.py.in
@@ -22,11 +22,15 @@ import subprocess
22import re 22import re
23import shutil 23import shutil
24try: 24try:
25 # Python 2.7
25 reload 26 reload
26except NameError: 27except NameError:
27 # python3.4: 28 try:
28 from importlib import reload 29 # Python 3.4+:
29 30 from importlib import reload
31 except ImportError:
32 # Python 3.0 - 3.3
33 from imp import reload
30 34
31# Force encoding to utf-8, as this test otherwise fails 35# Force encoding to utf-8, as this test otherwise fails
32# on some systems (see #5094). 36# on some systems (see #5094).