##// END OF EJS Templates
Merge pull request #7906 from minrk/skip-perm-test-windows...
Thomas Kluyver -
r20577:3924fe03 merge
parent child Browse files
Show More
@@ -3,6 +3,7
3 from __future__ import print_function
3 from __future__ import print_function
4
4
5 import os
5 import os
6 import sys
6 import time
7 import time
7
8
8 from nose import SkipTest
9 from nose import SkipTest
@@ -134,6 +135,8 class TestFileContentsManager(TestCase):
134 if hasattr(os, 'getuid'):
135 if hasattr(os, 'getuid'):
135 if os.getuid() == 0:
136 if os.getuid() == 0:
136 raise SkipTest("Can't test permissions as root")
137 raise SkipTest("Can't test permissions as root")
138 if sys.platform.startswith('win'):
139 raise SkipTest("Can't test permissions on Windows")
137
140
138 with TemporaryDirectory() as td:
141 with TemporaryDirectory() as td:
139 cm = FileContentsManager(root_dir=td)
142 cm = FileContentsManager(root_dir=td)
General Comments 0
You need to be logged in to leave comments. Login now