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

Delta Between Two Patch Sets: Lib/ctypes/test/test_pickling.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_parameters.py ('k') | Lib/ctypes/test/test_pointers.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 1 import os
2 import unittest 2 import unittest
3 import pickle 3 import pickle
4 from ctypes import * 4 from ctypes import *
5 import _ctypes_test 5 import _ctypes_test
6 dll = CDLL(getattr(_ctypes_test, '__file__', os.environ['TEST_EXECUTABLE'])) 6 dll = CDLL(getattr(_ctypes_test, '__file__', os.environ['TEST_EXECUTABLE']))
7 7
8 class X(Structure): 8 class X(Structure):
9 _fields_ = [("a", c_int), ("b", c_double)] 9 _fields_ = [("a", c_int), ("b", c_double)]
10 init_called = 0 10 init_called = 0
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
73 self.dumps(c_wchar("x")) 73 self.dumps(c_wchar("x"))
74 74
75 for proto in range(pickle.HIGHEST_PROTOCOL + 1): 75 for proto in range(pickle.HIGHEST_PROTOCOL + 1):
76 name = 'PickleTest_%s' % proto 76 name = 'PickleTest_%s' % proto
77 globals()[name] = type(name, 77 globals()[name] = type(name,
78 (PickleTest, unittest.TestCase), 78 (PickleTest, unittest.TestCase),
79 {'proto': proto}) 79 {'proto': proto})
80 80
81 if __name__ == "__main__": 81 if __name__ == "__main__":
82 unittest.main() 82 unittest.main()
LEFTRIGHT

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