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):
|
with self.assertRaises(ValueError):
|
||||||
f()
|
f()
|
||||||
|
|
||||||
|
def test_bpo_42057(self):
|
||||||
|
for i in range(10):
|
||||||
|
try:
|
||||||
|
raise Exception
|
||||||
|
except Exception or Exception:
|
||||||
|
pass
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
unittest.main()
|
unittest.main()
|
||||||
|
|
Loading…
Reference in New Issue