diff options
Diffstat (limited to 'cherrypy/test/test_wsgi_ns.py')
| -rw-r--r-- | cherrypy/test/test_wsgi_ns.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/cherrypy/test/test_wsgi_ns.py b/cherrypy/test/test_wsgi_ns.py index 2a5fedd4..3545724c 100644 --- a/cherrypy/test/test_wsgi_ns.py +++ b/cherrypy/test/test_wsgi_ns.py @@ -1,5 +1,4 @@ import cherrypy -from cherrypy._cpcompat import ntob from cherrypy.test import helper @@ -76,8 +75,8 @@ class WSGI_Namespace_Test(helper.CPWebCase): return 'HellO WoRlD!' root_conf = {'wsgi.pipeline': [('replace', Replacer)], - 'wsgi.replace.map': {ntob('L'): ntob('X'), - ntob('l'): ntob('r')}, + 'wsgi.replace.map': {b'L': b'X', + b'l': b'r'}, } app = cherrypy.Application(Root()) |
