diff options
Diffstat (limited to 'cherrypy/test/test_compat.py')
-rw-r--r-- | cherrypy/test/test_compat.py | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/cherrypy/test/test_compat.py b/cherrypy/test/test_compat.py deleted file mode 100644 index 62cb3b4f..00000000 --- a/cherrypy/test/test_compat.py +++ /dev/null @@ -1,19 +0,0 @@ -import unittest - -import nose - -from cherrypy import _cpcompat as compat - - -class StringTester(unittest.TestCase): - - def test_ntob_non_native(self): - """ - ntob should raise an Exception on unicode. - (Python 2 only) - - See #1132 for discussion. - """ - if compat.py3k: - raise nose.SkipTest("Only useful on Python 2") - self.assertRaises(Exception, compat.ntob, unicode('fight')) |