@skipIf(os.getuid() == <NUM_LIT:0>, "<STR_LIT>")<EOL><INDENT>def assert_permission_denied(self, f, *args):<DEDENT>
with self.assertRaises(OSError) as cm:<EOL><INDENT>f(*args)<EOL><DEDENT>self.assertEqual(cm.exception.errno, errno.EPERM)<EOL>
Calling f` raises OSError with EPERM.