• Home
  • Raw
  • Download

Lines Matching refs:hasattr

88     @unittest.skipUnless(hasattr(os, 'tempnam'), 'test needs os.tempnam()')
103 @unittest.skipUnless(hasattr(os, 'tmpfile'), 'test needs os.tmpfile()')
153 @unittest.skipUnless(hasattr(os, 'tmpnam'), 'test needs os.tmpnam()')
195 @unittest.skipUnless(hasattr(os, 'stat'), 'test needs os.stat()')
256 @unittest.skipUnless(hasattr(os, 'statvfs'), 'test needs os.statvfs()')
423 if hasattr(os, "symlink"):
467 if hasattr(os, "symlink"):
661 if hasattr(os, f):
676 @unittest.skipUnless(hasattr(os, 'isatty'), 'test needs os.isatty()')
680 @unittest.skipUnless(hasattr(os, 'closerange'), 'test needs os.closerange()')
696 @unittest.skipUnless(hasattr(os, 'dup2'), 'test needs os.dup2()')
700 @unittest.skipUnless(hasattr(os, 'fchmod'), 'test needs os.fchmod()')
704 @unittest.skipUnless(hasattr(os, 'fchown'), 'test needs os.fchown()')
708 @unittest.skipUnless(hasattr(os, 'fpathconf'), 'test needs os.fpathconf()')
712 @unittest.skipUnless(hasattr(os, 'ftruncate'), 'test needs os.ftruncate()')
716 @unittest.skipUnless(hasattr(os, 'lseek'), 'test needs os.lseek()')
720 @unittest.skipUnless(hasattr(os, 'read'), 'test needs os.read()')
724 @unittest.skipUnless(hasattr(os, 'tcsetpgrp'), 'test needs os.tcsetpgrp()')
728 @unittest.skipUnless(hasattr(os, 'write'), 'test needs os.write()')
734 @unittest.skipUnless(hasattr(os, 'setuid'), 'test needs os.setuid()')
740 @unittest.skipUnless(hasattr(os, 'setgid'), 'test needs os.setgid()')
746 @unittest.skipUnless(hasattr(os, 'seteuid'), 'test needs os.seteuid()')
752 @unittest.skipUnless(hasattr(os, 'setegid'), 'test needs os.setegid()')
758 @unittest.skipUnless(hasattr(os, 'setreuid'), 'test needs os.setreuid()')
765 @unittest.skipUnless(hasattr(os, 'setreuid'), 'test needs os.setreuid()')
773 @unittest.skipUnless(hasattr(os, 'setregid'), 'test needs os.setregid()')
780 @unittest.skipUnless(hasattr(os, 'setregid'), 'test needs os.setregid()')
1000 @unittest.skipUnless(hasattr(os, 'spawnve'), 'test needs os.spawnve()')
1004 @unittest.skipUnless(hasattr(os, 'spawnvpe'), 'test needs os.spawnvpe()')