mirror of
https://github.com/python/cpython.git
synced 2024-12-13 20:05:53 +08:00
bpo-42057: Add regression test to master. (GH-22893)
This commit is contained in:
parent
b6f2fc9040
commit
b52432cb8c
@ -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…
Reference in New Issue
Block a user