summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fcntl.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2001-04-11 20:58:20 (GMT)
committerGuido van Rossum <guido@python.org>2001-04-11 20:58:20 (GMT)
commit2242f2fbd0d50546ad79e800efbc6f0a2334bd0b (patch)
tree4f52d18335ba8cec2f482a3d2b7fd1c9a7ee2a9a /Lib/test/test_fcntl.py
parent11e89c72c1912ce834b6295f023c5096cc384d2a (diff)
downloadcpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.zip
cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.tar.gz
cpython-2242f2fbd0d50546ad79e800efbc6f0a2334bd0b.tar.bz2
Unixware 7 support by Billy G. Allie (SF patch 413011)
Diffstat (limited to 'Lib/test/test_fcntl.py')
-rwxr-xr-xLib/test/test_fcntl.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py
index 3da079d..1fa0aa2 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -21,7 +21,7 @@ if sys.platform in ('netbsd1', 'Darwin1.2', 'darwin1',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2'):
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
-elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
+elif sys.platform in ['aix3', 'aix4', 'hp-uxB', 'unixware7']:
lockdata = struct.pack('hhlllii', FCNTL.F_WRLCK, 0, 0, 0, 0, 0, 0)
else:
lockdata = struct.pack('hhllhh', FCNTL.F_WRLCK, 0, 0, 0, 0, 0)