mirror of
https://github.com/python/cpython.git
synced 2025-12-04 00:30:19 +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
|
|
@ -116,7 +116,7 @@ class TestPartial(unittest.TestCase):
|
|||
|
||||
def test_error_propagation(self):
|
||||
def f(x, y):
|
||||
x / y
|
||||
x // y
|
||||
self.assertRaises(ZeroDivisionError, self.thetype(f, 1, 0))
|
||||
self.assertRaises(ZeroDivisionError, self.thetype(f, 1), 0)
|
||||
self.assertRaises(ZeroDivisionError, self.thetype(f), 1, 0)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue