Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(121539)

Delta Between Two Patch Sets: Lib/test/test_cmd_line.py

Issue 23670: Modifications to support iOS as a development platform
Left Patch Set: Created 3 years, 8 months ago
Right Patch Set: Created 3 years, 8 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Lib/test/test_capi.py ('k') | Lib/test/test_doctest.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
(Both sides are equal)
1 # Tests invocation of the interpreter with various command line arguments 1 # Tests invocation of the interpreter with various command line arguments
2 # Most tests are executed with environment variables ignored 2 # Most tests are executed with environment variables ignored
3 # See test_cmd_line_script.py for testing of script execution 3 # See test_cmd_line_script.py for testing of script execution
4 4
5 import test.support, unittest 5 import test.support, unittest
6 import os 6 import os
7 import shutil 7 import shutil
8 import sys 8 import sys
9 import subprocess 9 import subprocess
10 import tempfile 10 import tempfile
(...skipping 480 matching lines...) Expand 10 before | Expand all | Expand 10 after
491 out = subprocess.check_output([sys.executable, "-I", main], 491 out = subprocess.check_output([sys.executable, "-I", main],
492 cwd=tmpdir) 492 cwd=tmpdir)
493 self.assertEqual(out.strip(), b"ok") 493 self.assertEqual(out.strip(), b"ok")
494 494
495 def test_main(): 495 def test_main():
496 test.support.run_unittest(CmdLineTest) 496 test.support.run_unittest(CmdLineTest)
497 test.support.reap_children() 497 test.support.reap_children()
498 498
499 if __name__ == "__main__": 499 if __name__ == "__main__":
500 test_main() 500 test_main()
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+