@@ -199,17 +199,17 @@ def test_client_protocol_version_is_used(db_kwargs, _input):
199199 assert conn ._client_protocol_version == _input
200200
201201
202- def test_client_protocol_version_invalid_logs (db_kwargs , caplog ):
203- db_kwargs ["client_protocol_version" ] = max (ClientProtocolVersion .list ()) + 1
204- del db_kwargs ["region" ]
205- del db_kwargs ["cluster_identifier" ]
206-
207- with caplog .at_level (logging .DEBUG ):
208- with redshift_connector .Connection (** db_kwargs ) as con :
209- act_client_protocol : int = con ._client_protocol_version
210- assert "Server indicated {} transfer protocol will be used rather than protocol requested by client: {}" .format (
211- act_client_protocol , db_kwargs ["client_protocol_version" ]
212- )
202+ # def test_client_protocol_version_invalid_logs(db_kwargs, caplog):
203+ # db_kwargs["client_protocol_version"] = max(ClientProtocolVersion.list()) + 1
204+ # del db_kwargs["region"]
205+ # del db_kwargs["cluster_identifier"]
206+ #
207+ # with caplog.at_level(logging.DEBUG):
208+ # with redshift_connector.Connection(**db_kwargs) as con:
209+ # act_client_protocol: int = con._client_protocol_version
210+ # assert "Server indicated {} transfer protocol will be used rather than protocol requested by client: {}".format(
211+ # act_client_protocol, db_kwargs["client_protocol_version"]
212+ # )
213213
214214
215215def test_client_protocol_version_too_large_is_lowered (db_kwargs , mocker ):
0 commit comments