Skip to content

Commit 6933daf

Browse files
committed
Add a comment
1 parent 9d4f18e commit 6933daf

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

Lib/test/test_types.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1483,6 +1483,8 @@ def test_richcompare_frozendict(self):
14831483
self.check_richcompare(frozendict)
14841484

14851485
def test_richcompare_evil(self):
1486+
# This test used to mutate the list dictionary,
1487+
# but MappingProxyType now creates a copy to call `__eq__`:
14861488
# https://github.com/python/cpython/issues/152405
14871489
key = "__mappingproxy_crash_key__"
14881490

0 commit comments

Comments
 (0)