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

Method test_dict

Lib/test/test_bigmem.py:1277–1280  ·  view source on GitHub ↗
(self, size)

Source from the content-addressed store, hash-verified

1275
1276 @bigmemtest(size=357913941, memuse=160)
1277 def test_dict(self, size):
1278 # https://github.com/python/cpython/issues/102701
1279 d = dict.fromkeys(range(size))
1280 d[size] = 1
1281
1282
1283if __name__ == '__main__':

Callers

nothing calls this directly

Calls 1

fromkeysMethod · 0.45

Tested by

no test coverage detected