(self)
| 1787 | |
| 1788 | @unittest.skipUnless(hasattr(os, 'mkfifo') and os.mkfifo in os.supports_dir_fd, "test needs dir_fd support in os.mkfifo()") |
| 1789 | def test_mkfifo_dir_fd(self): |
| 1790 | with self.prepare() as (dir_fd, name, fullname): |
| 1791 | try: |
| 1792 | posix.mkfifo(name, stat.S_IRUSR | stat.S_IWUSR, dir_fd=dir_fd) |
| 1793 | except PermissionError as e: |
| 1794 | self.skipTest('posix.mkfifo(): %s' % e) |
| 1795 | self.addCleanup(posix.unlink, fullname) |
| 1796 | self.assertTrue(stat.S_ISFIFO(posix.stat(fullname).st_mode)) |
| 1797 | |
| 1798 | |
| 1799 | class PosixGroupsTester(unittest.TestCase): |
nothing calls this directly
no test coverage detected