mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
parent
dc08a143e0
commit
4c7db315df
2 changed files with 3 additions and 3 deletions
|
@ -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():
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue