@@ -385,6 +385,8 @@ def close_conn():
385
385
reader .close ()
386
386
return body
387
387
388
+ # TODO: RUSTPYTHON
389
+ @unittest .expectedFailure
388
390
@unittest .skipIf (sys .platform == 'darwin' ,
389
391
'undecodable name cannot always be decoded on macOS' )
390
392
@unittest .skipIf (sys .platform == 'win32' ,
@@ -461,6 +463,8 @@ def test_head(self):
461
463
self .assertEqual (response .getheader ('content-type' ),
462
464
'application/octet-stream' )
463
465
466
+ # TODO: RUSTPYTHON
467
+ @unittest .expectedFailure
464
468
def test_browser_cache (self ):
465
469
"""Check that when a request to /test is sent with the request header
466
470
If-Modified-Since set to date of last modification, the server returns
@@ -891,6 +895,8 @@ def test_http_0_9(self):
891
895
self .assertEqual (result [0 ], b'<html><body>Data</body></html>\r \n ' )
892
896
self .verify_get_called ()
893
897
898
+ # TODO: RUSTPYTHON
899
+ @unittest .expectedFailure
894
900
def test_extra_space (self ):
895
901
result = self .send_typical_request (
896
902
b'GET /spaced out HTTP/1.1\r \n '
@@ -1133,6 +1139,8 @@ def mock_server_class(self):
1133
1139
),
1134
1140
)
1135
1141
1142
+ # TODO: RUSTPYTHON
1143
+ @unittest .expectedFailure
1136
1144
@mock .patch ('builtins.print' )
1137
1145
def test_server_test_unspec (self , _ ):
1138
1146
mock_server = self .mock_server_class ()
@@ -1142,6 +1150,8 @@ def test_server_test_unspec(self, _):
1142
1150
(socket .AF_INET6 , socket .AF_INET ),
1143
1151
)
1144
1152
1153
+ # TODO: RUSTPYTHON
1154
+ @unittest .expectedFailure
1145
1155
@mock .patch ('builtins.print' )
1146
1156
def test_server_test_localhost (self , _ ):
1147
1157
mock_server = self .mock_server_class ()
@@ -1163,13 +1173,17 @@ def test_server_test_localhost(self, _):
1163
1173
"127.0.0.1" ,
1164
1174
)
1165
1175
1176
+ # TODO: RUSTPYTHON
1177
+ @unittest .expectedFailure
1166
1178
@mock .patch ('builtins.print' )
1167
1179
def test_server_test_ipv6 (self , _ ):
1168
1180
for bind in self .ipv6_addrs :
1169
1181
mock_server = self .mock_server_class ()
1170
1182
server .test (ServerClass = mock_server , bind = bind )
1171
1183
self .assertEqual (mock_server .address_family , socket .AF_INET6 )
1172
1184
1185
+ # TODO: RUSTPYTHON
1186
+ @unittest .expectedFailure
1173
1187
@mock .patch ('builtins.print' )
1174
1188
def test_server_test_ipv4 (self , _ ):
1175
1189
for bind in self .ipv4_addrs :
0 commit comments