Merge pull request #24268 from eduNEXT/lmm/safe_exec
[BD-6] Fix test for python3.8
This commit is contained in:
@@ -199,7 +199,10 @@ class TestUpdateHash(unittest.TestCase):
|
||||
|
||||
"""
|
||||
d1 = {k: 1 for k in "abcdefghijklmnopqrstuvwxyz"}
|
||||
d2 = dict(d1)
|
||||
d2 = {k: 1 for k in "bcdefghijklmnopqrstuvwxyza"}
|
||||
# TODO: remove the next lines once we are in python3.8
|
||||
# since python3.8 dict preserve the order of insertion
|
||||
# and therefore d2 and d1 keys are already in different order.
|
||||
for i in range(10000):
|
||||
d2[i] = 1
|
||||
for i in range(10000):
|
||||
|
||||
Reference in New Issue
Block a user