def METHOD_NAME(self):
    "Email quoting of interactive input"
    self.paste(
        """\
    >> >>> def f(x):
    >> ...   return x+1
    >> ... 
    >> >>> zz = f(2.5)      """
    )
    self.assertEqual(ip.user_ns["zz"], 3.5)