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

Delta Between Two Patch Sets: Lib/ctypes/test/test_cfuncs.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_callbacks.py ('k') | Lib/ctypes/test/test_checkretval.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 # A lot of failures in these tests on Mac OS X. 1 # A lot of failures in these tests on Mac OS X.
2 # Byte order related? 2 # Byte order related?
3 3
4 import os 4 import os
5 import unittest 5 import unittest
6 from ctypes import * 6 from ctypes import *
7 from ctypes.test import need_symbol 7 from ctypes.test import need_symbol
8 8
9 import _ctypes_test 9 import _ctypes_test
10 10
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after
204 func = self._FuncPtr(("s_" + name, self)) 204 func = self._FuncPtr(("s_" + name, self))
205 setattr(self, name, func) 205 setattr(self, name, func)
206 return func 206 return func
207 207
208 @need_symbol('WinDLL') 208 @need_symbol('WinDLL')
209 class stdcallCFunctions(CFunctions): 209 class stdcallCFunctions(CFunctions):
210 _dll = stdcall_dll(getattr(_ctypes_test, '__file__', os.environ['TEST_EXECUT ABLE'])) 210 _dll = stdcall_dll(getattr(_ctypes_test, '__file__', os.environ['TEST_EXECUT ABLE']))
211 211
212 if __name__ == '__main__': 212 if __name__ == '__main__':
213 unittest.main() 213 unittest.main()
LEFTRIGHT

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