Home
last modified time | relevance | path

Searched refs:_fatal_error (Results 1 – 8 of 8) sorted by relevance

/external/python/cpython3/Lib/test/test_asyncio/
Dtest_selector_events.py451 tr._fatal_error(exc)
464 tr._fatal_error(exc)
560 transport._fatal_error = mock.Mock()
570 self.assertTrue(transport._fatal_error.called)
574 transport._fatal_error = mock.Mock()
582 self.assertTrue(transport._fatal_error.called)
619 transport._fatal_error = mock.Mock()
622 self.assertFalse(transport._fatal_error.called)
629 transport._fatal_error = mock.Mock()
632 self.assertFalse(transport._fatal_error.called)
[all …]
Dtest_proactor_events.py93 tr._fatal_error = mock.Mock()
95 tr._fatal_error.assert_called_with(
104 tr._fatal_error = mock.Mock()
106 self.assertFalse(tr._fatal_error.called)
112 tr._fatal_error = mock.Mock()
114 self.assertTrue(tr._fatal_error.called)
121 tr._fatal_error = mock.Mock()
124 self.assertFalse(tr._fatal_error.called)
131 tr._fatal_error = mock.Mock()
133 tr._fatal_error.assert_called_with(
[all …]
Dtest_sslproto.py93 ssl_proto._fatal_error(None)
Dtest_unix_events.py912 tr._fatal_error = mock.Mock()
917 tr._fatal_error.assert_called_with(
/external/python/cpython3/Lib/asyncio/
Dselector_events.py707 def _fatal_error(self, exc, message='Fatal error on transport'): member in _SelectorTransport
826 self._fatal_error(
837 self._fatal_error(exc, 'Fatal read error on socket transport')
849 self._fatal_error(
862 self._fatal_error(exc, 'Fatal read error on socket transport')
874 self._fatal_error(
886 self._fatal_error(
924 self._fatal_error(exc, 'Fatal write error on socket transport')
951 self._fatal_error(exc, 'Fatal write error on socket transport')
1027 self._fatal_error(exc, 'Fatal read error on datagram transport')
[all …]
Dsslproto.py532 self._fatal_error(e, 'SSL error in data received')
549 self._fatal_error(
622 self._fatal_error(ConnectionAbortedError(msg))
641 self._fatal_error(exc, msg)
706 self._fatal_error(exc, 'Fatal error on SSL transport')
708 def _fatal_error(self, exc, message='Fatal error on transport'): member in SSLProtocol
Dproactor_events.py118 def _fatal_error(self, exc, message='Fatal error on pipe transport'): member in _ProactorBasePipeTransport
239 self._fatal_error(
264 self._fatal_error(exc,
302 self._fatal_error(exc, 'Fatal read error on pipe transport')
309 self._fatal_error(exc, 'Fatal read error on pipe transport')
408 self._fatal_error(exc, 'Fatal write error on pipe transport')
532 self._fatal_error(exc, 'Fatal write error on datagram transport')
Dunix_events.py497 self._fatal_error(exc, 'Fatal read error on pipe transport')
543 def _fatal_error(self, exc, message='Fatal error on pipe transport'): member in _UnixReadPipeTransport
672 self._fatal_error(exc, 'Fatal write error on pipe transport')
698 self._fatal_error(exc, 'Fatal write error on pipe transport')
745 def _fatal_error(self, exc, message='Fatal error on pipe transport'): member in _UnixWritePipeTransport