Skip to content

Commit 811d86d

Browse files
committed
remove test_cli_flag function
1 parent d504760 commit 811d86d

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

Lib/test/test_httpservers.py

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1626,19 +1626,6 @@ def test_protocol_flag(self, mock_func):
16261626
self.args['protocol'] = self.default_protocol
16271627
mock_func.reset_mock()
16281628

1629-
# TODO: This test should be removed once the CGI component is removed(3.15)
1630-
@mock.patch('http.server.test')
1631-
def test_cgi_flag(self, mock_func):
1632-
self.invoke_httpd('--cgi')
1633-
mock_func.assert_called_once_with(HandlerClass=CGIHTTPRequestHandler,
1634-
ServerClass=self.default_server,
1635-
protocol=self.default_protocol,
1636-
port=self.default_port,
1637-
bind=self.default_bind,
1638-
tls_cert=None,
1639-
tls_key=None,
1640-
tls_password=None)
1641-
16421629
@unittest.skipIf(ssl is None, "requires ssl")
16431630
@mock.patch('http.server.test')
16441631
def test_tls_flag(self, mock_func):

0 commit comments

Comments
 (0)