summaryrefslogtreecommitdiff
path: root/cherrypy/test/test_config.py
diff options
context:
space:
mode:
Diffstat (limited to 'cherrypy/test/test_config.py')
-rw-r--r--cherrypy/test/test_config.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/cherrypy/test/test_config.py b/cherrypy/test/test_config.py
index 70fe535b..be17df90 100644
--- a/cherrypy/test/test_config.py
+++ b/cherrypy/test/test_config.py
@@ -8,7 +8,6 @@ import unittest
import six
import cherrypy
-import cherrypy._cpcompat as compat
from cherrypy.test import helper
@@ -241,7 +240,7 @@ class ConfigTests(helper.CPWebCase):
self.getPage('/plain', method='POST', headers=[
('Content-Type', 'application/x-www-form-urlencoded'),
('Content-Length', '13')],
- body=compat.ntob('\xff\xfex\x00=\xff\xfea\x00b\x00c\x00'))
+ body=b'\xff\xfex\x00=\xff\xfea\x00b\x00c\x00')
self.assertBody('abc')