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

Method test_marshal_int

extra_tests/snippets/stdlib_marshal.py:16–20  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

14 self.assertEqual(self.dump_then_load(data), data)
15
16 def test_marshal_int(self):
17 self._test_marshal(0)
18 self._test_marshal(-1)
19 self._test_marshal(1)
20 self._test_marshal(100000000)
21
22 def test_marshal_bool(self):
23 self._test_marshal(True)

Callers

nothing calls this directly

Calls 1

_test_marshalMethod · 0.95

Tested by

no test coverage detected