summaryrefslogtreecommitdiff
path: root/Lib
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@haypocalc.com>2010-09-12 07:51:18 +0000
committerVictor Stinner <victor.stinner@haypocalc.com>2010-09-12 07:51:18 +0000
commit4c7db315df75bdd014041b12122a34cf9f034754 (patch)
tree34715c568becf034f3078f9c6b9a3b27e64df156 /Lib
parentdc08a143e00d60aa0ce6ee946ad343b9ec2f80da (diff)
downloadcpython-git-4c7db315df75bdd014041b12122a34cf9f034754.tar.gz
Issue #9738, #9836: Fix refleak introduced by r84704
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_unicode.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py
index 0c23daa83e..aeac724370 100644
--- a/Lib/test/test_unicode.py
+++ b/Lib/test/test_unicode.py
@@ -1397,7 +1397,7 @@ class UnicodeTest(string_tests.CommonTest,
# non-ascii format, ascii argument
self.assertRaisesRegexp(ValueError,
'^PyUnicode_FromFormatV\(\) expects an ASCII-encoded format '
- 'string, got a non-ascii byte: 0xe9$',
+ 'string, got a non-ASCII byte: 0xe9$',
format_unicode, b'unicode\xe9=%s', 'ascii')
def test_main():