Home
last modified time | relevance | path

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

/external/clang/tools/scan-build-py/tests/unit/
Dtest_runner.py311 def method_with_expecteds(opts): function
329 self.assertRaises(KeyError, method_with_expecteds, dict())
330 self.assertRaises(KeyError, method_with_expecteds, {})
331 self.assertRaises(KeyError, method_with_expecteds, {'this': 2})
332 self.assertRaises(KeyError, method_with_expecteds, {'that': 3})
333 self.assertEqual(method_with_expecteds({'this': 0, 'that': 3}), 0)