Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
e5aefa45
Commit
e5aefa45
authored
Mar 31, 2013
by
Gregory P. Smith
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip a test of an old API on ARM Linux that isn't supported by the OS.
parent
71c9e1a5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
Lib/test/test_fcntl.py
Lib/test/test_fcntl.py
+4
-0
No files found.
Lib/test/test_fcntl.py
View file @
e5aefa45
...
@@ -3,6 +3,7 @@
...
@@ -3,6 +3,7 @@
OS/2+EMX doesn't support the file locking operations.
OS/2+EMX doesn't support the file locking operations.
"""
"""
import
platform
import
os
import
os
import
struct
import
struct
import
sys
import
sys
...
@@ -97,6 +98,9 @@ class TestFcntl(unittest.TestCase):
...
@@ -97,6 +98,9 @@ class TestFcntl(unittest.TestCase):
self
.
assertRaises
(
OverflowError
,
fcntl
.
fcntl
,
F
(
_testcapi
.
INT_MIN
-
1
),
self
.
assertRaises
(
OverflowError
,
fcntl
.
fcntl
,
F
(
_testcapi
.
INT_MIN
-
1
),
fcntl
.
F_SETFL
,
os
.
O_NONBLOCK
)
fcntl
.
F_SETFL
,
os
.
O_NONBLOCK
)
@
unittest
.
skipIf
(
platform
.
machine
().
startswith
(
'arm'
)
and
platform
.
system
()
==
'Linux'
,
"ARM Linux returns EINVAL for F_NOTIFY DN_MULTISHOT"
)
def
test_fcntl_64_bit
(
self
):
def
test_fcntl_64_bit
(
self
):
# Issue #1309352: fcntl shouldn't fail when the third arg fits in a
# Issue #1309352: fcntl shouldn't fail when the third arg fits in a
# C 'long' but not in a C 'int'.
# C 'long' but not in a C 'int'.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment