Make test_locale pass.

XXX Should we just rip out this BSD Rune compatibility hack?
This commit is contained in:
Guido van Rossum 2007-05-17 21:11:47 +00:00
parent f40e5762cc
commit 1a1f61b48f

View 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)()