summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2007-05-17 21:11:47 (GMT)
committerGuido van Rossum <guido@python.org>2007-05-17 21:11:47 (GMT)
commit1a1f61b48f9295d07b2b07d13f49c03d37898d50 (patch)
treea65a89746543a61aabf1a288111c5de53ccc208e /Lib
parentf40e5762cc57f6228c23643b110932305cf6b15c (diff)
downloadcpython-1a1f61b48f9295d07b2b07d13f49c03d37898d50.zip
cpython-1a1f61b48f9295d07b2b07d13f49c03d37898d50.tar.gz
cpython-1a1f61b48f9295d07b2b07d13f49c03d37898d50.tar.bz2
Make test_locale pass.
XXX Should we just rip out this BSD Rune compatibility hack?
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_locale.py1
1 files changed, 1 insertions, 0 deletions
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)()