Source

CherryPy / cherrypy / test / test_compat.py

Diff from to

cherrypy/test/test_compat.py

         """
         if compat.py3k:
             raise nose.SkipTest("Only useful on Python 2")
-        self.assertRaises(Exception, compat.ntob, u'fight')
+        self.assertRaises(Exception, compat.ntob, unicode('fight'))