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

Class bad_dict_clear

Lib/test/test_set.py:1859–1865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1857 return 0
1858
1859class bad_dict_clear:
1860 def __eq__(self, other):
1861 if be_bad:
1862 dict2.clear()
1863 return self is other
1864 def __hash__(self):
1865 return 0
1866
1867class TestWeirdBugs(unittest.TestCase):
1868 def test_8420_set_merge(self):

Callers 1

test_8420_set_mergeMethod · 0.85

Calls

no outgoing calls

Tested by 1

test_8420_set_mergeMethod · 0.68