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

Method test_dict_materialization

Lib/test/test_opcache.py:1070–1075  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

1068 )
1069
1070 def test_dict_materialization(self):
1071 c = C()
1072 c.a = 1
1073 c.b = 2
1074 c.__dict__
1075 self.assertEqual(c.__dict__, {"a":1, "b": 2})
1076
1077 def test_dict_dematerialization(self):
1078 c = C()

Callers

nothing calls this directly

Calls 2

CClass · 0.70
assertEqualMethod · 0.45

Tested by

no test coverage detected