commit | 81c867c3fc0719ec72ca3276be2327a6d1929a4b | [log] [tgz] |
---|---|---|
author | Florent Xicluna <florent.xicluna@gmail.com> | Mon Mar 08 12:47:44 2010 +0000 |
committer | Florent Xicluna <florent.xicluna@gmail.com> | Mon Mar 08 12:47:44 2010 +0000 |
tree | 2a08677c662c3dd40656489f4c5ef317e462521d | |
parent | e3ed2e02be2df49f040ea1560a86727bf7a99fee [diff] [blame] |
Fix string-> bytes conversion on backport from 2.x.
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 @@ 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()