diff options
| author | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-06-28 15:25:56 -0500 |
|---|---|---|
| committer | Paul McGuire <ptmcg@users.noreply.github.com> | 2020-06-28 15:25:56 -0500 |
| commit | ef1ec371355a249722317e44c120945be328c72a (patch) | |
| tree | fc6b983b16f91a686d19c782cac4a7a731288eca /tests | |
| parent | 466c9072e8b702695f7adf9044e846b06d427f87 (diff) | |
| download | pyparsing-git-ef1ec371355a249722317e44c120945be328c72a.tar.gz | |
Fixed traceback trimming, and added ParserElement.verbose_traceback save/restore to reset_pyparsing_context()
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/test_unit.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test_unit.py b/tests/test_unit.py index 58bd1e6..0ea4cf9 100644 --- a/tests/test_unit.py +++ b/tests/test_unit.py @@ -7774,6 +7774,8 @@ class Test2_WithoutPackrat(ppt.TestParseResultsAsserts, TestCase): def testMiscellaneousExceptionBits(self): + pp.ParserElement.verbose_stacktrace = True + self_testcase_name = "tests.test_unit." + type(self).__name__ # force a parsing exception - match an integer against "ABC" |
