]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.15] gh-149219: Test `frozendict` in `Lib/test/test_crossinterp.py` (GH-149220...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 21 May 2026 15:22:24 +0000 (17:22 +0200)
committerGitHub <noreply@github.com>
Thu, 21 May 2026 15:22:24 +0000 (15:22 +0000)
gh-149219: Test `frozendict` in `Lib/test/test_crossinterp.py` (GH-149220)
(cherry picked from commit c35b0f2b624ecc4d649a808acdb07a7fbcea60ac)

Co-authored-by: sobolevn <mail@sobolevn.me>
Lib/test/test_crossinterp.py

index 4e536211168747777e1932a5bdee68b135e9676c..f4bf5a66ad21550aa75ce516c0204286626217f4 100644 (file)
@@ -157,6 +157,10 @@ BUILTIN_CONTAINERS = [
     {},
     {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},