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

Method test_reduce

Lib/test/test_structseq.py:109–111  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

107 self.assertRaises(Exc, time.struct_time, C())
108
109 def test_reduce(self):
110 t = time.gmtime()
111 x = t.__reduce__()
112
113 def test_extended_getslice(self):
114 # Test extended slicing by comparing with list slicing.

Callers

nothing calls this directly

Calls 1

__reduce__Method · 0.45

Tested by

no test coverage detected