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

Method test_marshal_set

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

Source from the content-addressed store, hash-verified

47 self._test_marshal({"a": {"b": 2}, "c": [0.0, 4.0, 6, 9]})
48
49 def test_marshal_set(self):
50 self._test_marshal(set())
51 self._test_marshal({1, 2, 3})
52 self._test_marshal({1, "a", "b"})
53
54 def test_marshal_frozen_set(self):
55 self._test_marshal(frozenset())

Callers

nothing calls this directly

Calls 2

_test_marshalMethod · 0.95
setFunction · 0.85

Tested by

no test coverage detected