bpo-42057: Add a test case (GH-22878)
This commit is contained in:
parent
07a44d9572
commit
8f6787d93d
|
@ -522,6 +522,13 @@ 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