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_proactor_events.py88 tr._fatal_error = mock.Mock()
90 tr._fatal_error.assert_called_with(
99 tr._fatal_error = mock.Mock()
101 self.assertFalse(tr._fatal_error.called)
107 tr._fatal_error = mock.Mock()
109 self.assertTrue(tr._fatal_error.called)
116 tr._fatal_error = mock.Mock()
119 self.assertFalse(tr._fatal_error.called)
126 tr._fatal_error = mock.Mock()
128 tr._fatal_error.assert_called_with(
[all …]
Dtest_selector_events.py851 tr._fatal_error(exc)
947 transport._fatal_error = mock.Mock()
957 self.assertTrue(transport._fatal_error.called)
961 transport._fatal_error = mock.Mock()
969 self.assertTrue(transport._fatal_error.called)
1006 transport._fatal_error = mock.Mock()
1009 self.assertFalse(transport._fatal_error.called)
1016 transport._fatal_error = mock.Mock()
1019 self.assertFalse(transport._fatal_error.called)
1036 transport._fatal_error = mock.Mock()
[all …]
Dtest_sslproto.py88 ssl_proto._fatal_error(None)
Dtest_unix_events.py870 tr._fatal_error = mock.Mock()
875 tr._fatal_error.assert_called_with(
/external/python/cpython3/Lib/asyncio/
Dselector_events.py658 def _fatal_error(self, exc, message='Fatal error on transport'): member in _SelectorTransport
775 self._fatal_error(
784 self._fatal_error(exc, 'Fatal read error on socket transport')
794 self._fatal_error(
805 self._fatal_error(exc, 'Fatal read error on socket transport')
815 self._fatal_error(
825 self._fatal_error(
861 self._fatal_error(exc, 'Fatal write error on socket transport')
886 self._fatal_error(exc, 'Fatal write error on socket transport')
960 self._fatal_error(exc, 'Fatal read error on datagram transport')
[all …]
Dsslproto.py528 self._fatal_error(e, 'SSL error in data received')
543 self._fatal_error(
616 self._fatal_error(ConnectionAbortedError(msg))
633 self._fatal_error(exc, msg)
696 self._fatal_error(exc, 'Fatal error on SSL transport')
698 def _fatal_error(self, exc, message='Fatal error on transport'): member in SSLProtocol
Dproactor_events.py97 def _fatal_error(self, exc, message='Fatal error on pipe transport'): member in _ProactorBasePipeTransport
216 self._fatal_error(
239 self._fatal_error(exc,
277 self._fatal_error(exc, 'Fatal read error on pipe transport')
284 self._fatal_error(exc, 'Fatal read error on pipe transport')
383 self._fatal_error(exc, 'Fatal write error on pipe transport')
Dunix_events.py482 self._fatal_error(exc, 'Fatal read error on pipe transport')
519 def _fatal_error(self, exc, message='Fatal error on pipe transport'): member in _UnixReadPipeTransport
646 self._fatal_error(exc, 'Fatal write error on pipe transport')
670 self._fatal_error(exc, 'Fatal write error on pipe transport')
718 def _fatal_error(self, exc, message='Fatal error on pipe transport'): member in _UnixWritePipeTransport