bpo-42057: Add a test case (GH-22878)

This commit is contained in:
Inada Naoki 2020-10-22 11:28:36 +09:00 committed by GitHub
parent 07a44d9572
commit 8f6787d93d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -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()