]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Remove duplicated dict keys in `test_{embed,long}.py` fixtures (#128727)
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Mon, 20 Jan 2025 12:50:10 +0000 (13:50 +0100)
committerGitHub <noreply@github.com>
Mon, 20 Jan 2025 12:50:10 +0000 (13:50 +0100)
Lib/test/test_embed.py
Lib/test/test_long.py

index a2400aa96c3dddb3b4b263b2659b752d7c4d4456..6d1b4cce498276a4b973494a03f8acde9f35111b 100644 (file)
@@ -1049,7 +1049,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
             'use_hash_seed': True,
             'hash_seed': 42,
             'tracemalloc': 2,
-            'perf_profiling': 0,
             'import_time': True,
             'code_debug_ranges': False,
             'malloc_stats': True,
@@ -1086,7 +1085,6 @@ class InitConfigTests(EmbeddingTestsMixin, unittest.TestCase):
             'use_hash_seed': True,
             'hash_seed': 42,
             'tracemalloc': 2,
-            'perf_profiling': 0,
             'import_time': True,
             'code_debug_ranges': False,
             'malloc_stats': True,
index 19978118c80dba56ee8e254f07e4a3b531513af1..f336d49fa4f00863fa71c5d70498e422b8895d28 100644 (file)
@@ -1470,7 +1470,6 @@ class LongTest(unittest.TestCase):
             b'\x00': 0,
             b'\x00\x00': 0,
             b'\x01': 1,
-            b'\x00\x01': 256,
             b'\xff': -1,
             b'\xff\xff': -1,
             b'\x81': -127,