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 2008-09-16.05:21:38
SpamBayes Score 2.6444875e-05
Marked as misclassified No
Message-id <1221542542.67.0.83676817672.issue3877@psf.upfronthosting.co.za>
In-reply-to
Content
test_fileio
test test_fileio failed -- Traceback (most recent call last):
  File "/home/henry/compile/python2.6/Lib/test/test_fileio.py", line
155, in testAbles
    self.assertEquals(f.seekable(), False)
AssertionError: True != False

Apparently it is expected to "fail" for *BSD systems since darwin,
freebsd and sunos / solaris are not expected to pass this test:

                    if sys.platform != "darwin" and \
                       not sys.platform.startswith('freebsd') and \
                       not sys.platform.startswith('sunos'):
                        # Somehow /dev/tty appears seekable on some BSDs
                        self.assertEquals(f.seekable(), False)

I just added openbsd to the list and the test works. I would also
suggest to add netbsd, since it is very very likely to have the same
behavior.
History
Date User Action Args
2008-09-16 05:22:22henry.precheursetrecipients: + henry.precheur
2008-09-16 05:22:22henry.precheursetmessageid: <1221542542.67.0.83676817672.issue3877@psf.upfronthosting.co.za>
2008-09-16 05:21:40henry.precheurlinkissue3877 messages
2008-09-16 05:21:40henry.precheurcreate