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

Method test_param_with_continuations

Lib/test/test_clinic.py:1072–1082  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1070 self.assertEqual(True, p.default)
1071
1072 def test_param_with_continuations(self):
1073 function = self.parse_function(r"""
1074 module os
1075 os.access
1076 follow_symlinks: \
1077 bool \
1078 = \
1079 True
1080 """)
1081 p = function.parameters['follow_symlinks']
1082 self.assertEqual(True, p.default)
1083
1084 def test_param_default_none(self):
1085 function = self.parse_function(r"""

Callers

nothing calls this directly

Calls 2

parse_functionMethod · 0.95
assertEqualMethod · 0.45

Tested by

no test coverage detected