(self)
| 1874 | @unittest.skipIf(sys.platform == "vxworks", |
| 1875 | "fifo requires special path on VxWorks") |
| 1876 | def test_walk_named_pipe(self): |
| 1877 | path = os_helper.TESTFN + '-pipe' |
| 1878 | os.mkfifo(path) |
| 1879 | self.addCleanup(os.unlink, path) |
| 1880 | |
| 1881 | walk_it = self.walk(path) |
| 1882 | self.assertRaises(StopIteration, next, walk_it) |
| 1883 | |
| 1884 | walk_it = self.walk(path, follow_symlinks=True) |
| 1885 | if self.is_fwalk: |
| 1886 | self.assertRaises(NotADirectoryError, next, walk_it) |
| 1887 | self.assertRaises(StopIteration, next, walk_it) |
| 1888 | |
| 1889 | @unittest.skipUnless(hasattr(os, "mkfifo"), 'requires os.mkfifo()') |
| 1890 | @unittest.skipIf(sys.platform == "vxworks", |
nothing calls this directly
no test coverage detected