Commit 97c4ffe4 authored by Florent Xicluna's avatar Florent Xicluna

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

parent afc624b5
......@@ -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()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment