Kaydet (Commit) e7ebdc2a authored tarafından Benjamin Peterson's avatar Benjamin Peterson

remove check for unicode

üst 9642d60b
...@@ -21,9 +21,6 @@ class GetArgsTest(unittest.TestCase): ...@@ -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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment