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

Delta Between Two Patch Sets: Lib/ctypes/test/test_funcptr.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/ctypes/test/test_checkretval.py ('k') | Lib/ctypes/test/test_functions.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 import os, unittest 1 import os, unittest
2 from ctypes import * 2 from ctypes import *
3 3
4 try: 4 try:
5 WINFUNCTYPE 5 WINFUNCTYPE
6 except NameError: 6 except NameError:
7 # fake to enable this test on Linux 7 # fake to enable this test on Linux
8 WINFUNCTYPE = CFUNCTYPE 8 WINFUNCTYPE = CFUNCTYPE
9 9
10 import _ctypes_test 10 import _ctypes_test
(...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after
118 ## b.value = s 118 ## b.value = s
119 119
120 ## b = c_string(s) 120 ## b = c_string(s)
121 self.assertEqual(strtok(b, b"\n"), b"a") 121 self.assertEqual(strtok(b, b"\n"), b"a")
122 self.assertEqual(strtok(None, b"\n"), b"b") 122 self.assertEqual(strtok(None, b"\n"), b"b")
123 self.assertEqual(strtok(None, b"\n"), b"c") 123 self.assertEqual(strtok(None, b"\n"), b"c")
124 self.assertEqual(strtok(None, b"\n"), None) 124 self.assertEqual(strtok(None, b"\n"), None)
125 125
126 if __name__ == '__main__': 126 if __name__ == '__main__':
127 unittest.main() 127 unittest.main()
LEFTRIGHT

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