mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
remove check for unicode
This commit is contained in:
parent
9642d60bd0
commit
e7ebdc2a61
1 changed files with 0 additions and 3 deletions
|
@ -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)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue