Skip to content

Commit ad50a2a

Browse files
committed
Mark failing/erroring tests
1 parent e1c3988 commit ad50a2a

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

Lib/test/test_httpservers.py

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -385,6 +385,8 @@ def close_conn():
385385
reader.close()
386386
return body
387387

388+
# TODO: RUSTPYTHON
389+
@unittest.expectedFailure
388390
@unittest.skipIf(sys.platform == 'darwin',
389391
'undecodable name cannot always be decoded on macOS')
390392
@unittest.skipIf(sys.platform == 'win32',
@@ -461,6 +463,8 @@ def test_head(self):
461463
self.assertEqual(response.getheader('content-type'),
462464
'application/octet-stream')
463465

466+
# TODO: RUSTPYTHON
467+
@unittest.expectedFailure
464468
def test_browser_cache(self):
465469
"""Check that when a request to /test is sent with the request header
466470
If-Modified-Since set to date of last modification, the server returns
@@ -891,6 +895,8 @@ def test_http_0_9(self):
891895
self.assertEqual(result[0], b'<html><body>Data</body></html>\r\n')
892896
self.verify_get_called()
893897

898+
# TODO: RUSTPYTHON
899+
@unittest.expectedFailure
894900
def test_extra_space(self):
895901
result = self.send_typical_request(
896902
b'GET /spaced out HTTP/1.1\r\n'
@@ -1133,6 +1139,8 @@ def mock_server_class(self):
11331139
),
11341140
)
11351141

1142+
# TODO: RUSTPYTHON
1143+
@unittest.expectedFailure
11361144
@mock.patch('builtins.print')
11371145
def test_server_test_unspec(self, _):
11381146
mock_server = self.mock_server_class()
@@ -1142,6 +1150,8 @@ def test_server_test_unspec(self, _):
11421150
(socket.AF_INET6, socket.AF_INET),
11431151
)
11441152

1153+
# TODO: RUSTPYTHON
1154+
@unittest.expectedFailure
11451155
@mock.patch('builtins.print')
11461156
def test_server_test_localhost(self, _):
11471157
mock_server = self.mock_server_class()
@@ -1163,13 +1173,17 @@ def test_server_test_localhost(self, _):
11631173
"127.0.0.1",
11641174
)
11651175

1176+
# TODO: RUSTPYTHON
1177+
@unittest.expectedFailure
11661178
@mock.patch('builtins.print')
11671179
def test_server_test_ipv6(self, _):
11681180
for bind in self.ipv6_addrs:
11691181
mock_server = self.mock_server_class()
11701182
server.test(ServerClass=mock_server, bind=bind)
11711183
self.assertEqual(mock_server.address_family, socket.AF_INET6)
11721184

1185+
# TODO: RUSTPYTHON
1186+
@unittest.expectedFailure
11731187
@mock.patch('builtins.print')
11741188
def test_server_test_ipv4(self, _):
11751189
for bind in self.ipv4_addrs:

0 commit comments

Comments
 (0)