]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-149219: Test `frozendict` in `Lib/test/test_crossinterp.py` (#149220)
authorsobolevn <mail@sobolevn.me>
Thu, 21 May 2026 09:28:38 +0000 (12:28 +0300)
committerGitHub <noreply@github.com>
Thu, 21 May 2026 09:28:38 +0000 (12:28 +0300)
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},