MCPcopy Create free account
hub / github.com/pytest-dev/pytest / test_basic_objects

Function test_basic_objects

doc/en/example/multipython.py:70–72  ·  view source on GitHub ↗
(python1, python2, obj)

Source from the content-addressed store, hash-verified

68
69@pytest.mark.parametrize("obj", [42, {}, {1: 3}])
70def test_basic_objects(python1, python2, obj):
71 python1.dumps(obj)
72 python2.load_and_is_true(f"obj == {obj}")

Callers

nothing calls this directly

Calls 2

dumpsMethod · 0.80
load_and_is_trueMethod · 0.80

Tested by

no test coverage detected