diff options
Diffstat (limited to 'test_backtrace_parser.py')
| -rw-r--r-- | test_backtrace_parser.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test_backtrace_parser.py b/test_backtrace_parser.py index 713eadb..efb28fe 100644 --- a/test_backtrace_parser.py +++ b/test_backtrace_parser.py @@ -46,6 +46,10 @@ class TestParser(unittest.TestCase): '#40 /usr/sbin/yum-complete-transaction:118 __init__\n' '#51 /usr/sbin/yum-complete-transaction:256 <module>\n') + def test_infinite_recursion(self): + bt = Backtrace.from_text_file('data/rhbz-885361-attachment-660076.txt') + thread, frame = bt.get_crash_site() + self.assertEqual(len(thread.frames), 2048) if __name__ == '__main__': unittest.main() |
