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

Delta Between Two Patch Sets: Lib/ctypes/test/test_win32.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_values.py ('k') | Lib/ctypes/util.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 # Windows specific tests 1 # Windows specific tests
2 2
3 from ctypes import * 3 from ctypes import *
4 import os 4 import os
5 import unittest, sys 5 import unittest, sys
6 from test import support 6 from test import support
7 7
8 import _ctypes_test 8 import _ctypes_test
9 9
10 # Only windows 32-bit has different calling conventions. 10 # Only windows 32-bit has different calling conventions.
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
135 self.assertEqual(ret.right, right.value) 135 self.assertEqual(ret.right, right.value)
136 self.assertEqual(ret.top, top.value) 136 self.assertEqual(ret.top, top.value)
137 self.assertEqual(ret.bottom, bottom.value) 137 self.assertEqual(ret.bottom, bottom.value)
138 138
139 # to not leak references, we must clean _pointer_type_cache 139 # to not leak references, we must clean _pointer_type_cache
140 from ctypes import _pointer_type_cache 140 from ctypes import _pointer_type_cache
141 del _pointer_type_cache[RECT] 141 del _pointer_type_cache[RECT]
142 142
143 if __name__ == '__main__': 143 if __name__ == '__main__':
144 unittest.main() 144 unittest.main()
LEFTRIGHT

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