diff options
Diffstat (limited to 'Lib/test/test_unicode.py')
-rw-r--r-- | Lib/test/test_unicode.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Lib/test/test_unicode.py b/Lib/test/test_unicode.py index 5eb331a..a859c0f 100644 --- a/Lib/test/test_unicode.py +++ b/Lib/test/test_unicode.py @@ -512,8 +512,7 @@ class UnicodeTest( ) if not sys.platform.startswith('java'): - # Silence Py3k warning - with test_support.check_warnings(): + with test_support.check_py3k_warnings(): buf = buffer('character buffers are decoded to unicode') self.assertEqual( unicode( |