From 81c867c3fc0719ec72ca3276be2327a6d1929a4b Mon Sep 17 00:00:00 2001 From: Florent Xicluna Date: Mon, 8 Mar 2010 12:47:44 +0000 Subject: [PATCH] Fix string-> bytes conversion on backport from 2.x. --- Lib/test/test_genericpath.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.50.1