Lines Matching refs:value
45 self.assertEqual(exc.value, "PASSED")
109 self.assertEqual(cm.exception.value, 2)
396 self.assertEqual(cm.exception.value, (2,))
406 self.assertIsInstance(cm.exception.value, StopIteration)
407 self.assertEqual(cm.exception.value.value, 2)
1492 # then, it "backtracks" to get the next value from the nearest enclosing
2036 Sending a value into a started generator:
2048 Sending a value into a new generator produces a TypeError:
2053 TypeError: can't send non-None value to a just-started generator
2131 >>> g.throw(ValueError("xyz")) # value only
2134 >>> g.throw(ValueError, ValueError(1)) # value+matching type
2146 TypeError: instance exception may not have a separate value