From: Florent Xicluna Date: Mon, 8 Mar 2010 12:47:44 +0000 (+0000) Subject: Fix string-> bytes conversion on backport from 2.x. X-Git-Tag: v3.2a1~1529 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=81c867c3fc0719ec72ca3276be2327a6d1929a4b;p=python Fix string-> bytes conversion on backport from 2.x. --- diff --git a/Lib/test/test_genericpath.py b/Lib/test/test_genericpath.py index 4ceb292652..4ffc1cdd57 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()