MCPcopy Index your code
hub / github.com/python/cpython / test_is_fifo_false

Method test_is_fifo_false

Lib/test/test_pathlib/test_pathlib.py:2713–2720  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

2711 P.parser.isjunction.assert_called_once_with(P)
2712
2713 def test_is_fifo_false(self):
2714 P = self.cls(self.base)
2715 self.assertFalse((P / 'fileA').is_fifo())
2716 self.assertFalse((P / 'dirA').is_fifo())
2717 self.assertFalse((P / 'non-existing').is_fifo())
2718 self.assertFalse((P / 'fileA' / 'bah').is_fifo())
2719 self.assertIs((P / 'fileA\udfff').is_fifo(), False)
2720 self.assertIs((P / 'fileA\x00').is_fifo(), False)
2721
2722 @unittest.skipUnless(hasattr(os, "mkfifo"), "os.mkfifo() required")
2723 @unittest.skipIf(sys.platform == "vxworks",

Callers

nothing calls this directly

Calls 4

assertFalseMethod · 0.80
is_fifoMethod · 0.80
clsMethod · 0.45
assertIsMethod · 0.45

Tested by

no test coverage detected