def METHOD_NAME(self):
    input_stream = io.StringIO("print 'nothing'\nprint u'über'\n")
    out = io.BytesIO()
    out_enc = codecs.getwriter("ascii")(out)
    err = io.StringIO()
    ret = self.run_2to3_capture(["-"], input_stream, out_enc, err)
    self.assertEqual(ret, 0)
    output = out.getvalue().decode("ascii")
    self.assertIn("-print 'nothing'", output)
    self.assertIn("WARNING: couldn't encode <stdin>'s diff for "
                  "your terminal", err.getvalue())