remove check for unicode

This commit is contained in:
Benjamin Peterson 2010-04-16 21:55:10 +00:00
parent 9642d60bd0
commit e7ebdc2a61
1 changed files with 0 additions and 3 deletions

View File

@ -21,9 +21,6 @@ class GetArgsTest(unittest.TestCase):
# this test will fail because it does not test the right part of the # this test will fail because it does not test the right part of the
# PyArg_ParseTuple() implementation. # PyArg_ParseTuple() implementation.
def test_with_marshal(self): def test_with_marshal(self):
if not test_support.have_unicode:
return
arg = unicode(r'\222', 'unicode-escape') arg = unicode(r'\222', 'unicode-escape')
self.assertRaises(UnicodeError, marshal.loads, arg) self.assertRaises(UnicodeError, marshal.loads, arg)