diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/test_which.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_which.py b/tests/test_which.py index 631db5a..e1b19a8 100644 --- a/tests/test_which.py +++ b/tests/test_which.py @@ -42,7 +42,7 @@ class TestCaseWhich(PexpectTestCase.PexpectTestCase): " which() finds an executable in $PATH and returns its abspath. " bin_dir = tempfile.mkdtemp() - if sys.getfilesystemencoding() == 'ascii': + if sys.getfilesystemencoding() in ('ascii', 'ANSI_X3.4-1968'): prefix = 'ascii-' else: prefix = u'ǝpoɔıun-' |