diff options
author | Joel Rivera <rivera@joel.mx> | 2016-03-19 14:21:46 -0600 |
---|---|---|
committer | Joel Rivera <rivera@joel.mx> | 2016-03-19 14:21:46 -0600 |
commit | ba826a9524579cd49d1c8bf949b253c2c6aef400 (patch) | |
tree | 9efb5cd6541078f399e4e68e7f10e43370fc2fde | |
parent | f0a695152523fb033db561e2cca5c6e0a5a8846b (diff) | |
download | cherrypy-ba826a9524579cd49d1c8bf949b253c2c6aef400.tar.gz |
Fix test_query_string_decoding for python3
-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') |