summaryrefslogtreecommitdiff
path: root/doc/en/example/py2py3/test_py2.py
diff options
context:
space:
mode:
authorAnthony Sottile <asottile@umich.edu>2018-10-22 08:49:31 -0700
committerAnthony Sottile <asottile@umich.edu>2018-10-22 08:50:00 -0700
commitcb39bd065165c6bafb78e30f56b0fca82df5a74d (patch)
tree333e9e2e7902b8d021a75faf5665671eb968ee74 /doc/en/example/py2py3/test_py2.py
parentc94b2b227e92caf68a3d0f658fd6bb6c61c577fc (diff)
downloadpytest-cb39bd065165c6bafb78e30f56b0fca82df5a74d.tar.gz
Fixes for flake8 master
Diffstat (limited to 'doc/en/example/py2py3/test_py2.py')
-rw-r--r--doc/en/example/py2py3/test_py2.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/en/example/py2py3/test_py2.py b/doc/en/example/py2py3/test_py2.py
index 664acf178..1f665086e 100644
--- a/doc/en/example/py2py3/test_py2.py
+++ b/doc/en/example/py2py3/test_py2.py
@@ -1,6 +1,5 @@
-
def test_exception_syntax():
try:
- 0/0
+ 0 / 0
except ZeroDivisionError, e:
- pass
+ assert e