#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
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Buildbot-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/buildbot-commits