New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
$ ./python Lib/test/test_bdb.py ... ====================================================================== FAIL: test_skip (__main__.StateTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 731, in test_skip tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 448, in __exit__ self.test_case.fail(err_msg) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: Wrong event type at expect_set item 2, got 'call' Expected: ('line', 3, 'tfunc_import') Got: ('call', 84, '_id'), ('quit',), ====================================================================== FAIL: test_runeval_step (__main__.RunTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 976, in test_runeval_step tracer.runeval('test_module.main()', globals(), locals()) File "Lib/test/test_bdb.py", line 448, in __exit__ self.test_case.fail(err_msg) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: Wrong event type at expect_set item 2, got 'exception' Expected: ('call', 2, 'main') Got: ('exception', 1, '<module>', AttributeError), ('step',), All paired tuples have not been processed, the last one was number 2 ====================================================================== FAIL: test_bp_condition (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 843, in test_bp_condition tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_bp_exception_on_condition_evaluation (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 862, in test_bp_exception_on_condition_evaluation tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_bp_ignore_count (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 883, in test_bp_ignore_count tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_clear_two_bp_on_same_line (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 935, in test_clear_two_bp_on_same_line tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 4 ====================================================================== FAIL: test_disabled_temporary_bp (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 823, in test_disabled_temporary_bp tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_ignore_count_on_disabled_bp (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 910, in test_ignore_count_on_disabled_bp tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_temporary_bp (__main__.BreakpointTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 795, in test_temporary_bp tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_next_command_in_generator_for_loop (__main__.IssuesTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1081, in test_next_command_in_generator_for_loop tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_next_command_in_generator_with_subiterator (__main__.IssuesTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1112, in test_next_command_in_generator_with_subiterator tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_next_until_return_in_generator (__main__.IssuesTestCase) (set_type='next') ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1050, in test_next_until_return_in_generator tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_next_until_return_in_generator (__main__.IssuesTestCase) (set_type='until') ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1050, in test_next_until_return_in_generator tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_next_until_return_in_generator (__main__.IssuesTestCase) (set_type='return') ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1050, in test_next_until_return_in_generator tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_return_command_in_generator_with_subiterator (__main__.IssuesTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1143, in test_return_command_in_generator_with_subiterator tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 1 ====================================================================== FAIL: test_step_at_return_with_no_trace_in_caller (__main__.IssuesTestCase) ---------------------------------------------------------------------- Traceback (most recent call last): File "Lib/test/test_bdb.py", line 1009, in test_step_at_return_with_no_trace_in_caller tracer.runcall(tfunc_import) File "Lib/test/test_bdb.py", line 456, in __exit__ self.test_case.fail(not_empty) File "Lib/test/test_bdb.py", line 582, in fail raise self.failureException(msg) from None AssertionError: All paired tuples have not been processed, the last one was number 2 ---------------------------------------------------------------------- ---------- components: Tests messages: 322116 nosy: serhiy.storchaka priority: normal severity: normal status: open title: Lib/test/test_bdb.py failed when ran as a script type: behavior versions: Python 3.6, Python 3.7, Python 3.8 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34185> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com