Commits

Jason R. Coombs committed 8e510e0

Fix Python 3 syntax error in test_compat.py

  • Participants
  • Parent commits 6ac9f27
  • Branches cherrypy-3.2.x

Comments (0)

Files changed (1)

File 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'))