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 christian.heimes, dilettant, giampaolo.rodola, jcea, loewis, movement, neologix, pitrou, python-dev, r.david.murray, vstinner
Date 2013-06-23.13:35:33
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1371994533.64.0.499218723962.issue11016@psf.upfronthosting.co.za>
In-reply-to
Content
test_stat.test_devices() fail on Solaris: it looks like os.devnull is a symlink. You should probably use os.stat() instead of os.lstat() for this specific test.

http://buildbot.python.org/all/builders/SPARC%20Solaris%2010%20%28cc%2C%2032b%29%20%5BSB%5D%203.x/builds/708/steps/test/logs/stdio

======================================================================
FAIL: test_devices (test.test_stat.TestFilemodeCStat)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/cpython/buildslave/cc-32/3.x.snakebite-sol10-sparc-cc-32/build/Lib/test/test_stat.py", line 157, in test_devices
    self.assertEqual(modestr[0], 'c')
AssertionError: 'l' != 'c'
- l
+ c
History
Date User Action Args
2013-06-23 13:35:33vstinnersetrecipients: + vstinner, loewis, jcea, pitrou, movement, giampaolo.rodola, christian.heimes, r.david.murray, neologix, python-dev, dilettant
2013-06-23 13:35:33vstinnersetmessageid: <1371994533.64.0.499218723962.issue11016@psf.upfronthosting.co.za>
2013-06-23 13:35:33vstinnerlinkissue11016 messages
2013-06-23 13:35:33vstinnercreate