commit | bd1c68c94f0d5bc25b48f62c7527f51c754f2b6b | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Wed Oct 24 18:55:37 2007 +0000 |
committer | Georg Brandl <georg@python.org> | Wed Oct 24 18:55:37 2007 +0000 |
tree | a468fcccf4193f6d26ce71246e2596de6ffc9eec | |
parent | 97f9d4f31224e72e5c714ea7e509c4fd0044f0e2 [diff] [blame] |
Patch #1303: Adapt str8 constructor to bytes (now buffer) one.
diff --git a/Lib/test/test_locale.py b/Lib/test/test_locale.py index 1bfb3b3..5fcba6f 100644 --- a/Lib/test/test_locale.py +++ b/Lib/test/test_locale.py
@@ -82,7 +82,7 @@ # Test BSD Rune locale's bug for isctype functions. def teststrop(s, method, output): - s = str8(s) + s = str8(s, 'latin1') # XXX if verbose: print("%s.%s() =? %s ..." % (repr(s), method, repr(output)), end=' ') result = getattr(s, method)()