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
1d7ec8f2
Commit
1d7ec8f2
authored
Aug 02, 2013
by
Charles-François Natali
Browse files
Options
Browse Files
Download
Plain Diff
Issue #18325: Fix a test_kqueue failure on OpenBSD: kevent's data and event
members are integers.
parents
b467d154
6ddd2653
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
Lib/test/test_kqueue.py
Lib/test/test_kqueue.py
+3
-3
No files found.
Lib/test/test_kqueue.py
View file @
1d7ec8f2
...
...
@@ -75,13 +75,13 @@ class TestKQueue(unittest.TestCase):
self
.
assertEqual
(
ev
,
ev
)
self
.
assertNotEqual
(
ev
,
other
)
bignum
=
sys
.
maxsize
*
2
+
1
ev
=
select
.
kevent
(
bignum
,
1
,
2
,
3
,
sys
.
maxsize
,
bignum
)
bignum
=
0x7fff
ev
=
select
.
kevent
(
bignum
,
1
,
2
,
3
,
bignum
-
1
,
bignum
)
self
.
assertEqual
(
ev
.
ident
,
bignum
)
self
.
assertEqual
(
ev
.
filter
,
1
)
self
.
assertEqual
(
ev
.
flags
,
2
)
self
.
assertEqual
(
ev
.
fflags
,
3
)
self
.
assertEqual
(
ev
.
data
,
sys
.
maxsize
)
self
.
assertEqual
(
ev
.
data
,
bignum
-
1
)
self
.
assertEqual
(
ev
.
udata
,
bignum
)
self
.
assertEqual
(
ev
,
ev
)
self
.
assertNotEqual
(
ev
,
other
)
...
...
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