diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-24 20:11:21 (GMT) |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2009-10-24 20:11:21 (GMT) |
commit | 6103ab1d0b3361486960f3fa7711f20c91c535f5 (patch) | |
tree | c4ab6589e1e01f758500b6a054e19a747d3086cb /Lib/test/test_fcntl.py | |
parent | 194fcf2d15c90ae9ed9cb9e1d95721e6a6e54281 (diff) | |
download | cpython-6103ab1d0b3361486960f3fa7711f20c91c535f5.zip cpython-6103ab1d0b3361486960f3fa7711f20c91c535f5.tar.gz cpython-6103ab1d0b3361486960f3fa7711f20c91c535f5.tar.bz2 |
Remove AtheOS support, as per PEP 11 (which claims that all code was removed in Python 3.0).
Diffstat (limited to 'Lib/test/test_fcntl.py')
-rwxr-xr-x | Lib/test/test_fcntl.py | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 3c18f1d..e8eeaaa 100755 --- a/Lib/test/test_fcntl.py +++ b/Lib/test/test_fcntl.py @@ -16,15 +16,12 @@ fcntl = import_module('fcntl') # TODO - Write tests for flock() and lockf(). def get_lockdata(): - if sys.platform.startswith('atheos'): - start_len = "qq" + try: + os.O_LARGEFILE + except AttributeError: + start_len = "ll" else: - try: - os.O_LARGEFILE - except AttributeError: - start_len = "ll" - else: - start_len = "qq" + start_len = "qq" if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3', 'Darwin1.2', 'darwin', |