diff --git a/doc/example/py2py3/test_py2.py b/doc/example/py2py3/test_py2.py index a035ec723..e09ed9466 100644 --- a/doc/example/py2py3/test_py2.py +++ b/doc/example/py2py3/test_py2.py @@ -3,5 +3,5 @@ def test_exception_syntax(): try: 0/0 except ZeroDivisionError, e: - assert 0, e + pass diff --git a/doc/example/py2py3/test_py3.py b/doc/example/py2py3/test_py3.py index 615b50fbb..a811f2bbc 100644 --- a/doc/example/py2py3/test_py3.py +++ b/doc/example/py2py3/test_py3.py @@ -3,5 +3,5 @@ def test_exception_syntax(): try: 0/0 except ZeroDivisionError as e: - assert 0, e + pass