Lines Matching refs:skipUnless
56 @unittest.skipUnless(hasattr(posix, 'getresuid'),
64 @unittest.skipUnless(hasattr(posix, 'getresgid'),
72 @unittest.skipUnless(hasattr(posix, 'setresuid'),
80 @unittest.skipUnless(hasattr(posix, 'setresuid'),
89 @unittest.skipUnless(hasattr(posix, 'setresgid'),
97 @unittest.skipUnless(hasattr(posix, 'setresgid'),
106 @unittest.skipUnless(hasattr(posix, 'initgroups'),
131 @unittest.skipUnless(hasattr(posix, 'statvfs'),
136 @unittest.skipUnless(hasattr(posix, 'fstatvfs'),
145 @unittest.skipUnless(hasattr(posix, 'ftruncate'),
157 @unittest.skipUnless(hasattr(posix, 'dup'),
168 @unittest.skipUnless(hasattr(posix, 'confstr'),
174 @unittest.skipUnless(hasattr(posix, 'dup2'),
190 @unittest.skipUnless(hasattr(posix, 'fdopen'),
197 @unittest.skipUnless(hasattr(posix, 'fdopen'),
210 @unittest.skipUnless(hasattr(posix, 'fdopen') and
218 @unittest.skipUnless(hasattr(posix, 'O_EXLOCK'),
234 @unittest.skipUnless(hasattr(posix, 'O_SHLOCK'),
251 @unittest.skipUnless(hasattr(posix, 'fstat'),
260 @unittest.skipUnless(hasattr(posix, 'stat'),
265 @unittest.skipUnless(hasattr(posix, 'stat'), 'test needs posix.stat()')
266 @unittest.skipUnless(hasattr(posix, 'makedev'), 'test needs posix.makedev()')
362 @unittest.skipUnless(hasattr(posix, 'chown'), "test needs os.chown()")
373 @unittest.skipUnless(hasattr(posix, 'fchown'), "test needs os.fchown()")
386 @unittest.skipUnless(hasattr(posix, 'lchown'), "test needs os.lchown()")
394 @unittest.skipUnless(hasattr(posix, 'chdir'), 'test needs posix.chdir()')
399 @unittest.skipUnless(hasattr(posix, 'lsdir'), 'test needs posix.lsdir()')
403 @unittest.skipUnless(hasattr(posix, 'access'), 'test needs posix.access()')
407 @unittest.skipUnless(hasattr(posix, 'umask'), 'test needs posix.umask()')
413 @unittest.skipUnless(hasattr(posix, 'strerror'),
418 @unittest.skipUnless(hasattr(posix, 'pipe'), 'test needs posix.pipe()')
424 @unittest.skipUnless(hasattr(posix, 'tempnam'),
433 @unittest.skipUnless(hasattr(posix, 'tmpfile'),
441 @unittest.skipUnless(hasattr(posix, 'utime'), 'test needs posix.utime()')
474 @unittest.skipUnless(hasattr(posix, 'chflags'), 'test needs os.chflags()')
478 @unittest.skipUnless(hasattr(posix, 'lchflags'), 'test needs os.lchflags()')
482 @unittest.skipUnless(hasattr(posix, 'lchflags'), 'test needs os.lchflags()')
512 @unittest.skipUnless(hasattr(os, "putenv"), "requires os.putenv()")
521 @unittest.skipUnless(hasattr(posix, 'getcwd'),
570 @unittest.skipUnless(hasattr(os, 'getegid'), "test needs os.getegid()")
654 @unittest.skipUnless(hasattr(posix, 'initgroups'),
664 @unittest.skipUnless(hasattr(posix, 'setgroups'),