'Ensure that C{TypeError} with a message about L{inlineCallbacks} is
raised when a non-generator calls L{returnValue}.'

def test_nonGeneratorReturnValue(self):

    def _noYield():
        returnValue(5)
    _noYield = inlineCallbacks(_noYield)
    self.assertIn('inlineCallbacks', str(self.assertRaises(TypeError, _noYield)))
