From 1a1f61b48f9295d07b2b07d13f49c03d37898d50 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Thu, 17 May 2007 21:11:47 +0000 Subject: Make test_locale pass. XXX Should we just rip out this BSD Rune compatibility hack? --- Lib/test/test_locale.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index eba2cfd..2dd6510 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)() -- cgit v0.12