summaryrefslogtreecommitdiffstats
path: root/Mac/OSX/PythonLauncher/English.lproj/MainMenu.nib
diff options
context:
space:
mode:
Diffstat (limited to 'Mac/OSX/PythonLauncher/English.lproj/MainMenu.nib')
0 files changed, 0 insertions, 0 deletions
e) = self.STRINGS[-1] process = subprocess.Popen([sys.executable, "-mquopri"], stdin=subprocess.PIPE, stdout=subprocess.PIPE) 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. self.assertEqual(cout.splitlines(), e.splitlines()) def test_scriptdecode(self): (p, e) = self.STRINGS[-1] process = subprocess.Popen([sys.executable, "-mquopri", "-d"], stdin=subprocess.PIPE, stdout=subprocess.PIPE) cout, cerr = process.communicate(e) self.assertEqual(cout.splitlines(), p.splitlines()) def test_main(): test_support.run_unittest(QuopriTestCase) if __name__ == "__main__": test_main()