Fix skip on Windows.

This commit is contained in:
Dave Page 2019-04-18 11:17:54 +01:00
parent 49b318c39e
commit 94e1820ccd

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.")