Commit ccc897f8 authored by Yury Selivanov's avatar Yury Selivanov

Add a rudimentary test for StopAsyncIteration in test_exceptions.

parent f488fb42
......@@ -118,6 +118,8 @@ class ExceptionTests(unittest.TestCase):
try: x = 1/0
except Exception as e: pass
self.raise_catch(StopAsyncIteration, "StopAsyncIteration")
def testSyntaxErrorMessage(self):
# make sure the right exception message is raised for each of
# these code fragments
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment