mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. Patch by flox
This commit is contained in:
parent
3194d1454c
commit
3ddc435af6
107 changed files with 794 additions and 436 deletions
|
|
@ -401,7 +401,7 @@ class RaisingTraceFuncTestCase(unittest.TestCase):
|
|||
we're testing, so that the 'exception' trace event fires."""
|
||||
if self.raiseOnEvent == 'exception':
|
||||
x = 0
|
||||
y = 1/x
|
||||
y = 1 // x
|
||||
else:
|
||||
return 1
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue