Message90127
A kqueue's test doesn't pass on OpenBSD 4.6-beta, 4.4, & 4.5:
FAILED (failures=1)
Traceback (most recent call last):
File "Lib/test/test_kqueue.py", line 186, in <module>
test_main()
File "Lib/test/test_kqueue.py", line 183, in test_main
support.run_unittest(TestKQueue)
File "/home/henry/py3k/Lib/test/support.py", line 882, in run_unittest
_run_suite(suite)
File "/home/henry/py3k/Lib/test/support.py", line 865, in _run_suite
raise TestFailed(err)
test.support.TestFailed: Traceback (most recent call last):
File "Lib/test/test_kqueue.py", line 119, in test_queue_event
(server.fileno(), select.KQ_FILTER_WRITE, flags)])
AssertionError: Lists differ: [(6, -2, 5), (7, -2, 5)] != [(6, -2, 0),
(7, -2, 0)]
First differing element 0:
(6, -2, 5)
(6, -2, 0)
- [(6, -2, 5), (7, -2, 5)]
? ^ ^
+ [(6, -2, 0), (7, -2, 0)]
? ^ ^
It looks like OpenBSD behaves like Darwin. The attached patch fixes the
test. |
|
Date |
User |
Action |
Args |
2009-07-04 21:23:01 | henry.precheur | set | recipients:
+ henry.precheur |
2009-07-04 21:23:01 | henry.precheur | set | messageid: <1246742581.68.0.218952543803.issue6419@psf.upfronthosting.co.za> |
2009-07-04 21:23:00 | henry.precheur | link | issue6419 messages |
2009-07-04 21:23:00 | henry.precheur | create | |
|