summaryrefslogtreecommitdiff
blob: 862078a294cec15128f699ee98718e16957bd64d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
=== modified file 'a/twisted/web/test/test_webclient.py'
--- a/twisted/web/test/test_webclient.py	
+++ b/twisted/web/test/test_webclient.py	
@@ -178,6 +178,8 @@
             IOError)
 
     def testDownloadPageError3(self):
+        if not os.geteuid():
+            raise unittest.SkipTest('this does not work as root')
         # make sure failures in open() are caught too. This is tricky.
         # Might only work on posix.
         tmpfile = open("unwritable", "wb")