]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Make test_locale pass.
authorGuido van Rossum <guido@python.org>
Thu, 17 May 2007 21:11:47 +0000 (21:11 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 17 May 2007 21:11:47 +0000 (21:11 +0000)
XXX Should we just rip out this BSD Rune compatibility hack?

Lib/test/test_locale.py

index eba2cfdf24724388e288250bb550a976c9787a86..2dd6510887e43beb240fc7775b9f04fa76b0b903 100644 (file)
@@ -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)()