https://github.com/python/cpython/commit/c35b0f2b624ecc4d649a808acdb07a7fbcea60ac
commit: c35b0f2b624ecc4d649a808acdb07a7fbcea60ac
branch: main
author: sobolevn <[email protected]>
committer: sobolevn <[email protected]>
date: 2026-05-21T12:28:38+03:00
summary:

gh-149219: Test `frozendict` in `Lib/test/test_crossinterp.py` (#149220)

files:
M Lib/test/test_crossinterp.py

diff --git a/Lib/test/test_crossinterp.py b/Lib/test/test_crossinterp.py
index 4e536211168747..f4bf5a66ad2155 100644
--- a/Lib/test/test_crossinterp.py
+++ b/Lib/test/test_crossinterp.py
@@ -157,6 +157,10 @@ def ignore_byteswarning():
     {},
     {1: 7, 2: 8, 3: 9},
     {1: [1], 2: (2,), 3: {3: 4}},
+    # frozendict
+    frozendict(),
+    frozendict({1: 7, 2: 8, 3: 9}),
+    frozendict({1: [1], 2: (2,), 3: {3: 4}, 4: frozendict({5: 6})}),
     # set
     set(),
     {1, 2, 3},

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to