def METHOD_NAME(self):
    p = subprocess.Popen([sys.executable, "-c", "import sys; sys.exit(0)"],
                         stdin=subprocess.PIPE, stdout=subprocess.PIPE,
                         stderr=subprocess.PIPE)
    try:
        self.assertIsInstance(p.stdin, io.BufferedIOBase)
        self.assertIsInstance(p.stdout, io.BufferedIOBase)
        self.assertIsInstance(p.stderr, io.BufferedIOBase)
    finally:
        p.stdin.close()
        p.stdout.close()
        p.stderr.close()
        p.wait()