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

Method test_tuple_from_pair

Lib/test/test_capi/test_tuple.py:149–152  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

147 self.assertRaises(TypeError, from_pair)
148
149 def test_tuple_from_pair(self):
150 # Test _PyTuple_FromPair()
151 from_pair = _testinternalcapi.tuple_from_pair
152 self.check_tuple_from_pair(from_pair)
153
154 def test_tuple_from_pair_steal(self):
155 # Test _PyTuple_FromPairSteal()

Callers

nothing calls this directly

Calls 1

check_tuple_from_pairMethod · 0.95

Tested by

no test coverage detected