MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_is_junction_true

Method test_is_junction_true

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

Source from the content-addressed store, hash-verified

2713 self.assertFalse((P / 'fileA\x00').is_junction())
2714
2715 def test_is_junction_true(self):
2716 P = self.cls(self.base)
2717
2718 with mock.patch.object(P.parser, 'isjunction'):
2719 self.assertEqual(P.is_junction(), P.parser.isjunction.return_value)
2720 P.parser.isjunction.assert_called_once_with(P)
2721
2722 def test_is_fifo_false(self):
2723 P = self.cls(self.base)

Callers

nothing calls this directly

Calls 4

clsMethod · 0.45
assertEqualMethod · 0.45
is_junctionMethod · 0.45

Tested by

no test coverage detected