def METHOD_NAME(self):
    # same test as test_popen3(), but using the os.popen*() API
    if os.name == 'posix':
        w, r, e = os.popen3([self.cmd])
        self.validate_output(self.teststr, self.expected, r, w, e)
        w, r, e = os.popen3(["echo", self.teststr])
        got = r.read()
        self.assertEqual(got, self.teststr + "\n")
        got = e.read()
        self.assertFalse(got, "unexpected %r on stderr" % got)
    w, r, e = os.popen3(self.cmd)
    self.validate_output(self.teststr, self.expected, r, w, e)