diff --git a/misc/build_helpers/run_trial.py b/misc/build_helpers/run_trial.py index c8efc2145..b99e45d92 100644 --- a/misc/build_helpers/run_trial.py +++ b/misc/build_helpers/run_trial.py @@ -88,7 +88,7 @@ if not same: cwdu = os.path.normcase(os.path.normpath(os.getcwdu()) if os.path.basename(cwdu) == u'src': cwdu = os.path.dirname(cwdu) - if not isinstance(cwd, unicode) and cwd.decode(sys.getfilesystemencoding(), 'replace') != cwdu): + if not isinstance(cwd, unicode) and cwd.decode(sys.getfilesystemencoding(), 'replace') != cwdu: msg += ("However, this may be a false alarm because the current directory path\n" "is not representable in the filesystem encoding. This script needs to be\n" "run from the source directory to be tested, at a non-Unicode path.")