Home
last modified time | relevance | path

Searched refs:_get_error (Results 1 – 4 of 4) sorted by relevance

/external/tensorflow/tensorflow/python/distribute/coordinator/
Dcluster_coordinator.py213 def _get_error(self): member in RemoteValueImpl
245 def _get_error(val): function
256 error = val._get_error() # pylint: disable=protected-access
260 nest.map_structure(_get_error, structure)
270 error = val._get_error() # pylint: disable=protected-access
/external/python/cpython2/Lib/test/
Dtest_xml_etree.py2627 def _get_error(self, s): member in ParseErrorTest
2634 self.assertEqual(self._get_error('foo').position, (1, 0))
2635 self.assertEqual(self._get_error('<tag>&foo;</tag>').position, (1, 5))
2636 self.assertEqual(self._get_error('foobar<').position, (1, 6))
2641 self.assertEqual(expat.ErrorString(self._get_error('foo').code),
Dtest_argparse.py4298 def _get_error(self, func, *args, **kwargs): member in TestOptionalsHelpVersionActions
4309 self._get_error(parser.parse_args, args_str.split()).stdout)
4314 self._get_error(parser.parse_args, args_str.split()).stderr)
4328 msg = self._get_error(parser.parse_args, ['-v']).stderr
4341 msg = self._get_error(parser.parse_args, ['-V']).stderr
/external/python/cpython3/Lib/test/
Dtest_xml_etree.py3786 def _get_error(self, s): member in ParseErrorTest
3793 self.assertEqual(self._get_error('foo').position, (1, 0))
3794 self.assertEqual(self._get_error('<tag>&foo;</tag>').position, (1, 5))
3795 self.assertEqual(self._get_error('foobar<').position, (1, 6))
3799 self.assertEqual(self._get_error('foo').code,