Mercurial > hg > tvii
diff tests/test_transpose.py @ 71:9d55e0299c3f
fix scoping for python 3.6
author | Jeff Hammel <k0scist@gmail.com> |
---|---|
date | Sun, 17 Dec 2017 13:19:30 -0800 |
parents | 0bb36ae047c3 |
children |
line wrap: on
line diff
--- a/tests/test_transpose.py Sun Dec 17 13:22:44 2017 -0800 +++ b/tests/test_transpose.py Sun Dec 17 13:19:30 2017 -0800 @@ -29,8 +29,8 @@ e = None try: transpose(not_a_matrix) - except NotAMatrix as e: - pass + except NotAMatrix as _e: + e = _e assert e is not None assert isinstance(e, NotAMatrix)