From: Guido van Rossum Date: Thu, 17 May 2007 21:11:47 +0000 (+0000) Subject: Make test_locale pass. X-Git-Tag: v3.0a1~934 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1a1f61b48f9295d07b2b07d13f49c03d37898d50;p=thirdparty%2FPython%2Fcpython.git Make test_locale pass. XXX Should we just rip out this BSD Rune compatibility hack? --- diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index eba2cfdf2472..2dd6510887e4 100644 --- a/Lib/test/test_locale.py +++ b/Lib/test/test_locale.py @@ -79,6 +79,7 @@ finally: # Test BSD Rune locale's bug for isctype functions. def teststrop(s, method, output): + s = str8(s) if verbose: print("%s.%s() =? %s ..." % (repr(s), method, repr(output)), end=' ') result = getattr(s, method)()