Fix string-> bytes conversion on backport from 2.x.

This commit is contained in:
Florent Xicluna 2010-03-08 12:47:44 +00:00
parent e3ed2e02be
commit 81c867c3fc
1 changed files with 1 additions and 1 deletions

View File

@ -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()