Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions Lib/test/test_pyexpat.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,7 +366,6 @@ def ExternalEntityRefHandler(*args):
external_ref_args = ('ext', None, 'entity.file', None)
ExternalEntityRefHandler.assert_called_once_with(*external_ref_args)

@unittest.expectedFailure # TODO: RUSTPYTHON
@support.subTests('encoding', [
'utf-8', 'utf-16', 'utf-16be', 'utf-16le',
'iso8859-1', 'iso8859-2', 'iso8859-3', 'iso8859-4', 'iso8859-5',
Expand Down Expand Up @@ -396,7 +395,6 @@ def test_supported_encodings(self, encoding):
"End element: 'root'",
])

@unittest.expectedFailure # TODO: RUSTPYTHON
@support.subTests('encoding', [
'UTF-8', 'utf-8', 'utf-16', 'utf-16le', 'utf-16be',
'koi8-u', 'cp1125', 'cp1251', 'iso8859-5', 'mac-cyrillic',
Expand Down Expand Up @@ -780,7 +778,6 @@ def test(self):


class sf1296433Test(unittest.TestCase):
@unittest.expectedFailure # TODO: RUSTPYTHON; TypeError: Expected type 'str' but 'bytes' found.
def test_parse_only_xml_data(self):
# https://bugs.python.org/issue1296433
#
Expand Down Expand Up @@ -808,7 +805,6 @@ class ChardataBufferTest(unittest.TestCase):
def test_1025_bytes(self):
self.assertEqual(self.small_buffer_test(1025), 2)

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_1000_bytes(self):
self.assertEqual(self.small_buffer_test(1000), 1)

Expand Down Expand Up @@ -921,7 +917,6 @@ def small_buffer_test(self, buffer_len):
parser.Parse(xml)
return self.n

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_change_size_1(self):
xml1 = b"<?xml version='1.0' encoding='iso8859'?><a><s>" + b'a' * 1024
xml2 = b'aaa</s><s>' + b'a' * 1025 + b'</s></a>'
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_xml_etree.py
Original file line number Diff line number Diff line change
Expand Up @@ -1006,7 +1006,6 @@ def test_tostringlist_xml_declaration(self):
self.assertRegex(stringlist[0], r"^<\?xml version='1.0' encoding='.+'?>")
self.assertEqual(['<body', '>', '<tag', ' />', '</body>'], stringlist[1:])

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_encoding(self):
def check(encoding, body=''):
xml = ("<?xml version='1.0' encoding='%s'?><xml>%s</xml>" %
Expand Down
3 changes: 0 additions & 3 deletions Lib/test/test_xmlrpc.py
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,6 @@ def test_dump_none(self):
xmlrpclib.loads(strg)[0][0])
self.assertRaises(TypeError, xmlrpclib.dumps, (arg1,))

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_dump_encoding(self):
value = {'key\u20ac\xa4':
'value\u20ac\xa4'}
Expand Down Expand Up @@ -842,7 +841,6 @@ def test_nonascii(self):
# protocol error; provide additional information in test output
self.fail("%s\n%s" % (e, getattr(e, "headers", "")))

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_client_encoding(self):
start_string = '\u20ac'
end_string = '\xa4'
Expand Down Expand Up @@ -1023,7 +1021,6 @@ class SimpleServerEncodingTestCase(BaseServerTestCase):
def threadFunc(evt, numrequests, requestHandler=None, encoding=None):
http_server(evt, numrequests, requestHandler, 'iso-8859-15')

@unittest.expectedFailure # TODO: RUSTPYTHON
def test_server_encoding(self):
start_string = '\u20ac'
end_string = '\xa4'
Expand Down
Loading
Loading