Fix skip on Windows.

This commit is contained in:
Dave Page committed 2019-04-18 11:18:06 +01:00
1 parent 49b318c39e
commit 94e1820ccd
1 file changed
+1 -1
+1 -1
View File
@@ -29,7 +29,7 @@ class PermissionsTestCase(BaseTestGenerator):
permissions='700'))
]
def before(self):
def setUp(self):
if os.name == 'nt':
self.skipTest("This test is skipped on Windows which doesn't "
"support Unix style file permissions.")