Searched refs:exit_args (Results 1 – 2 of 2) sorted by relevance
/external/python/cpython3/Lib/test/ |
D | test_with.py | 18 self.exit_args = None 26 self.exit_args = (type, value, traceback) 94 self.exit_args = None 102 self.exit_args = exc_info 197 self.assertEqual(mock_manager.exit_args, None) 199 def assertAfterWithManagerInvariants(self, mock_manager, exit_args): argument 202 self.assertEqual(mock_manager.exit_args, exit_args) 224 self.assertEqual(mock_manager.exit_args[1], self.TEST_EXCEPTION) 226 self.assertEqual(mock_manager.exit_args[0], exc_type) 228 self.assertIsInstance(mock_manager.exit_args[1], exc_type) [all …]
|
/external/python/cpython2/Lib/test/ |
D | test_with.py | 19 self.exit_args = None 27 self.exit_args = (type, value, traceback) 95 self.exit_args = None 103 self.exit_args = exc_info 192 self.assertEqual(mock_manager.exit_args, None) 194 def assertAfterWithManagerInvariants(self, mock_manager, exit_args): argument 197 self.assertEqual(mock_manager.exit_args, exit_args) 219 self.assertEqual(mock_manager.exit_args[1], self.TEST_EXCEPTION) 221 self.assertEqual(mock_manager.exit_args[0], exc_type) 223 self.assertIsInstance(mock_manager.exit_args[1], exc_type) [all …]
|