diff options
Diffstat (limited to 'cherrypy/test/test_encoding.py')
-rw-r--r-- | cherrypy/test/test_encoding.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cherrypy/test/test_encoding.py b/cherrypy/test/test_encoding.py index 85869a9d..c6b4eb46 100644 --- a/cherrypy/test/test_encoding.py +++ b/cherrypy/test/test_encoding.py @@ -3,7 +3,7 @@ import gzip import cherrypy from cherrypy._cpcompat import BytesIO, IncompleteRead, ntob, ntou -europoundUnicode = ntou('\x80\xa3') +europoundUnicode = ntou(r'\x00\xa3') sing = ntou("\u6bdb\u6cfd\u4e1c: Sing, Little Birdie?", 'escape') sing8 = sing.encode('utf-8') sing16 = sing.encode('utf-16') |