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

Unified Diff: Lib/test/test_fcntl.py

Issue 23670: Modifications to support iOS as a development platform
Patch Set: Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Lib/test/test_faulthandler.py ('k') | Lib/test/test_file_eintr.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
--- a/Lib/test/test_fcntl.py Tue Mar 01 10:26:10 2016 +0200
+++ b/Lib/test/test_fcntl.py Wed Mar 02 00:01:35 2016 +0000
@@ -18,17 +18,17 @@ def get_lockdata():
try:
os.O_LARGEFILE
except AttributeError:
start_len = "ll"
else:
start_len = "qq"
if (sys.platform.startswith(('netbsd', 'freebsd', 'openbsd', 'bsdos'))
- or sys.platform == 'darwin'):
+ or sys.platform in ('darwin', 'ios')):
if struct.calcsize('l') == 8:
off_t = 'l'
pid_t = 'i'
else:
off_t = 'lxxxx'
pid_t = 'l'
lockdata = struct.pack(off_t + off_t + pid_t + 'hh', 0, 0, 0,
fcntl.F_WRLCK, 0)
« no previous file with comments | « Lib/test/test_faulthandler.py ('k') | Lib/test/test_file_eintr.py » ('j') | no next file with comments »

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