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

Delta Between Two Patch Sets: Lib/test/test_capi.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_base64.py ('k') | Lib/test/test_cmd_line.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 # Run the _testcapi module tests (tests for the Python/C API): by defn, 1 # Run the _testcapi module tests (tests for the Python/C API): by defn,
2 # these are all functions _testcapi exports whose name begins with 'test_'. 2 # these are all functions _testcapi exports whose name begins with 'test_'.
3 3
4 import os 4 import os
5 import pickle 5 import pickle
6 import random 6 import random
7 import subprocess 7 import subprocess
8 import sys 8 import sys
9 import textwrap 9 import textwrap
10 import time 10 import time
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
550 class Test_testcapi(unittest.TestCase): 550 class Test_testcapi(unittest.TestCase):
551 def test__testcapi(self): 551 def test__testcapi(self):
552 for name in dir(_testcapi): 552 for name in dir(_testcapi):
553 if name.startswith('test_'): 553 if name.startswith('test_'):
554 with self.subTest("internal", name=name): 554 with self.subTest("internal", name=name):
555 test = getattr(_testcapi, name) 555 test = getattr(_testcapi, name)
556 test() 556 test()
557 557
558 if __name__ == "__main__": 558 if __name__ == "__main__":
559 unittest.main() 559 unittest.main()
LEFTRIGHT

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