def METHOD_NAME(self):
    (p, e) = self.STRINGS[-1]
    process = subprocess.Popen([sys.executable, "-mquopri"],
                               stdin=subprocess.PIPE, stdout=subprocess.PIPE)
    self.addCleanup(process.stdout.close)
    cout, cerr = process.communicate(p)
    # On Windows, Python will output the result to stdout using
    # CRLF, as the mode of stdout is text mode. To compare this
    # with the expected result, we need to do a line-by-line comparison.
    cout = cout.decode('latin-1').splitlines()
    e = e.decode('latin-1').splitlines()
    assert len(cout)==len(e)
    for i in range(len(cout)):
        self.assertEqual(cout[i], e[i])
    self.assertEqual(cout, e)