From 971f96468c922cc466fee596c1a56f501e01ecdf Mon Sep 17 00:00:00 2001 From: holger krekel Date: Sun, 3 Jun 2012 16:10:10 +0200 Subject: [PATCH] fix py2py3 example tests --- doc/example/py2py3/test_py2.py | 2 +- doc/example/py2py3/test_py3.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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