diff options
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 1358419..d33643a 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -713,7 +713,7 @@ class UnicodeTest( if not sys.platform.startswith('java'): self.assertEqual( str( - buffer(b'character buffers are decoded to unicode'), + memoryview(b'character buffers are decoded to unicode'), 'utf-8', 'strict' ), |