diff options
Diffstat (limited to 'testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py3.py')
-rw-r--r-- | testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py3.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py3.py b/testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py3.py new file mode 100644 index 000000000..a811f2bbc --- /dev/null +++ b/testing/web-platform/tests/tools/pytest/doc/en/example/py2py3/test_py3.py @@ -0,0 +1,7 @@ + +def test_exception_syntax(): + try: + 0/0 + except ZeroDivisionError as e: + pass + |