summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_fcntl.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2000-09-26 00:31:18 (GMT)
committerGuido van Rossum <guido@python.org>2000-09-26 00:31:18 (GMT)
commitde33c79fdb1241b3ade03daf905572de262b0c50 (patch)
tree4178034562cf3fe7e8e80830cc1b1c14e2c0246e /Lib/test/test_fcntl.py
parent375732cd41326fd81c5bc15d7c0e0945992b1939 (diff)
downloadcpython-de33c79fdb1241b3ade03daf905572de262b0c50.zip
cpython-de33c79fdb1241b3ade03daf905572de262b0c50.tar.gz
cpython-de33c79fdb1241b3ade03daf905572de262b0c50.tar.bz2
HP-UX is another one of those platforms using an alternative lock
structure (same as AIX).
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 3c1be88..e1ed88b 100755
--- a/Lib/test/test_fcntl.py
+++ b/Lib/test/test_fcntl.py
@@ -21,7 +21,7 @@ if sys.platform in ('netbsd1',
'bsdos2', 'bsdos3', 'bsdos4',
'openbsd', 'openbsd2'):
lockdata = struct.pack('lxxxxlxxxxlhh', 0, 0, 0, FCNTL.F_WRLCK, 0)
-elif sys.platform in ['aix3', 'aix4']:
+elif sys.platform in ['aix3', 'aix4', 'hp-uxB']:
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)