diff options
author | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-06-27 17:41:06 -0500 |
---|---|---|
committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-06-27 17:41:06 -0500 |
commit | d364aeaa936819ed3d8bd8629e8af61e362c0eee (patch) | |
tree | 7ec2860af4d32edbd84743844a2c6c5fcbdc2d85 /pyparsing/testing.py | |
parent | 78b46d17a7091d0909411a899dd5984128278877 (diff) | |
download | pyparsing-git-d364aeaa936819ed3d8bd8629e8af61e362c0eee.tar.gz |
Fix bug when using pyparsing_testing.reset_pyparsing_context as a context manager, suppressing raised exceptions
Diffstat (limited to 'pyparsing/testing.py')
-rw-r--r-- | pyparsing/testing.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pyparsing/testing.py b/pyparsing/testing.py index 86623b9..e1d0cde 100644 --- a/pyparsing/testing.py +++ b/pyparsing/testing.py @@ -107,7 +107,7 @@ class pyparsing_test: return self.save() def __exit__(self, *args): - return self.restore() + self.restore() class TestParseResultsAsserts: """ |