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 pitrou
Recipients brett.cannon, ncoghlan, neologix, pitrou
Date 2011-12-21.12:32:17
SpamBayes Score 0.00028133864
Marked as misclassified No
Message-id <1324470738.36.0.917497036729.issue13645@psf.upfronthosting.co.za>
In-reply-to
Content
test_import fails when run directly after test_coding:

$ ./python -m test test_coding test_import
[1/2] test_coding
[2/2] test_import
test test_import failed -- Traceback (most recent call last):
  File "/home/antoine/cpython/default/Lib/test/test_import.py", line 115, in test_creation_mode
    self.assertEqual(stat.S_IMODE(s.st_mode), 0o666 & ~mask)
AssertionError: 436 != 420


384 is 0o600 while 420 is 0o644.

(seen sporadically on some buildbots, e.g.
http://www.python.org/dev/buildbot/all/builders/AMD64%20Snow%20Leopard%202%203.x/builds/1462/steps/test/logs/stdio
)


The same thing happens in 3.2, although the failing test is a different one:

$ ./python -m test test_coding test_import
[1/2] test_coding
[2/2] test_import
test test_import failed -- Traceback (most recent call last):
  File "/home/antoine/cpython/32/Lib/test/test_import.py", line 117, in test_execute_bit_not_copied
    stat.S_IRUSR | stat.S_IRGRP | stat.S_IROTH)
AssertionError: 436 != 292
History
Date User Action Args
2011-12-21 12:32:18pitrousetrecipients: + pitrou, brett.cannon, ncoghlan, neologix
2011-12-21 12:32:18pitrousetmessageid: <1324470738.36.0.917497036729.issue13645@psf.upfronthosting.co.za>
2011-12-21 12:32:17pitroulinkissue13645 messages
2011-12-21 12:32:17pitroucreate