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 vstinner
Recipients vstinner
Date 2013-06-25.00:25:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1372119942.09.0.162654139201.issue18296@psf.upfronthosting.co.za>
In-reply-to
Content
http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.0%20dtrace%203.x/builds/1560/steps/test/logs/stdio

======================================================================
FAIL: test_trailers (test.test_os.TestSendfile)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/usr/home/buildbot/python/3.x.koobs-freebsd/build/Lib/test/test_os.py", line 1962, in test_trailers
    self.assertEqual(data, b"abcde12345")
AssertionError: b'abcde\x00\x00\x00...\x00\x0012345' != b'abcde12345'
Warning -- threading._dangling was modified by test_os
test test_os failed

(I replaced a long list of \x00 with "...")

I don't understand why test_trailers() of test_os tries to copy 4096 bytes using os.sendto(), whereas the input file only contains 5 bytes.
History
Date User Action Args
2013-06-25 00:25:42vstinnersetrecipients: + vstinner
2013-06-25 00:25:42vstinnersetmessageid: <1372119942.09.0.162654139201.issue18296@psf.upfronthosting.co.za>
2013-06-25 00:25:42vstinnerlinkissue18296 messages
2013-06-25 00:25:41vstinnercreate