This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author henry.precheur
Recipients henry.precheur
Date 2009-07-04.21:23:00
SpamBayes Score 1.7144531e-07
Marked as misclassified No
Message-id <1246742581.68.0.218952543803.issue6419@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2009-07-04 21:23:01henry.precheursetrecipients: + henry.precheur
2009-07-04 21:23:01henry.precheursetmessageid: <1246742581.68.0.218952543803.issue6419@psf.upfronthosting.co.za>
2009-07-04 21:23:00henry.precheurlinkissue6419 messages
2009-07-04 21:23:00henry.precheurcreate