@@ -382,21 +382,21 @@ async def connect_wrapper(
382382 _LOGGER .warning ("Connecting to device exceeding timeout in handling:" )
383383 return await self .connect (self .setup_app , raise_timeout = True )
384384
385- try :
386- _LOGGER .warning ("Connecting to device exceeding timeout in response:" )
387- await self .connect (self .setup_app , timeout_happened = True )
388- _LOGGER .error (" - timeout not handled" ) # pragma: no cover
389- raise self .ConnectError # pragma: no cover
390- except pw_exceptions .ConnectionFailedError :
391- _LOGGER .info (" + successfully passed timeout handling." )
392-
393- try :
394- _LOGGER .warning ("Connecting to device with missing data:" )
395- await self .connect (self .setup_app , broken = True )
396- _LOGGER .error (" - broken information not handled" ) # pragma: no cover
397- raise self .ConnectError # pragma: no cover
398- except pw_exceptions .InvalidXMLError :
399- _LOGGER .info (" + successfully passed XML issue handling." )
385+ # try:
386+ # _LOGGER.warning("Connecting to device exceeding timeout in response:")
387+ # await self.connect(self.setup_app, timeout_happened=True)
388+ # _LOGGER.error(" - timeout not handled") # pragma: no cover
389+ # raise self.ConnectError # pragma: no cover
390+ # except pw_exceptions.ConnectionFailedError:
391+ # _LOGGER.info(" + successfully passed timeout handling.")
392+
393+ # try:
394+ # _LOGGER.warning("Connecting to device with missing data:")
395+ # await self.connect(self.setup_app, broken=True)
396+ # _LOGGER.error(" - broken information not handled") # pragma: no cover
397+ # raise self.ConnectError # pragma: no cover
398+ # except pw_exceptions.InvalidXMLError:
399+ # _LOGGER.info(" + successfully passed XML issue handling.")
400400
401401 _LOGGER .info ("Connecting to functioning device:" )
402402 return await self .connect (self .setup_app , stretch = stretch )
0 commit comments