[Buildbot-commits] [Buildbot] #2306: pyflakes.test.test_script.CheckTests.test_permissionDenied failure

Buildbot nobody at buildbot.net
Mon May 28 16:23:04 UTC 2012


#2306: pyflakes.test.test_script.CheckTests.test_permissionDenied failure
--------------------+------------------------
Reporter:  ewong    |       Owner:
    Type:  defect   |      Status:  closed
Priority:  minor    |   Milestone:  undecided
 Version:  0.8.6p1  |  Resolution:  fixed
Keywords:           |
--------------------+------------------------
Changes (by dustin):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Fixed:
 {{{
 #!patch
 diff --git a/pyflakes/test/test_script.py b/pyflakes/test/test_script.py
 index 233e59e..86369b5 100644
 --- a/pyflakes/test/test_script.py
 +++ b/pyflakes/test/test_script.py
 @@ -165,6 +165,8 @@ foo(bar=baz, bax)
          self.assertEquals(count, 1)
          self.assertEquals(
              err.getvalue(), "%s: Permission denied\n" %
 (sourcePath.path,))
 +    if sys.platform != 'linux2':
 +        test_permissionDenied.skip = "chmod(0) doesn't work on Windows"


      def test_misencodedFile(self):
 }}}

-- 
Ticket URL: <http://trac.buildbot.net/ticket/2306#comment:1>
Buildbot <http://buildbot.net/>
Buildbot: build/test automation


More information about the Commits mailing list