diff options
author | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-08 12:47:44 (GMT) |
---|---|---|
committer | Florent Xicluna <florent.xicluna@gmail.com> | 2010-03-08 12:47:44 (GMT) |
commit | 81c867c3fc0719ec72ca3276be2327a6d1929a4b (patch) | |
tree | 2a08677c662c3dd40656489f4c5ef317e462521d /Lib/test/test_genericpath.py | |
parent | e3ed2e02be2df49f040ea1560a86727bf7a99fee (diff) | |
download | cpython-81c867c3fc0719ec72ca3276be2327a6d1929a4b.zip cpython-81c867c3fc0719ec72ca3276be2327a6d1929a4b.tar.gz cpython-81c867c3fc0719ec72ca3276be2327a6d1929a4b.tar.bz2 |
Fix string-> bytes conversion on backport from 2.x.
Diffstat (limited to 'Lib/test/test_genericpath.py')
-rw-r--r-- | Lib/test/test_genericpath.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py index 4ceb292..4ffc1cd 100644 --- a/Lib/test/test_genericpath.py +++ b/Lib/test/test_genericpath.py @@ -285,7 +285,7 @@ class CommonTest(GenericTest): self.assertIsInstance(abspath(path), str) # Test non-ASCII, non-UTF8 bytes in the path. - with support.temp_cwd('\xe7w\xf0'): + with support.temp_cwd(b'\xe7w\xf0'): self.test_abspath() |