mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-42057: Add regression test to master. (GH-22893)
This commit is contained in:
parent
b6f2fc9040
commit
b52432cb8c
1 changed files with 6 additions and 0 deletions
|
@ -522,6 +522,12 @@ class TestBuglets(unittest.TestCase):
|
|||
with self.assertRaises(ValueError):
|
||||
f()
|
||||
|
||||
def test_bpo_42057(self):
|
||||
for i in range(10):
|
||||
try:
|
||||
raise Exception
|
||||
except Exception or Exception:
|
||||
pass
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue