== CPython 3.13.0a5+ (heads/main:dd44ab994b, Apr 7 2024, 16:48:24) [Clang 15.0.0 (clang-1500.3.9.4)] == macOS-14.3.1-arm64-arm-64bit-Mach-O little-endian == Python build: release == cwd: /Users/alexw/dev/cpython/build/test_python_worker_20786æ == CPU count: 14 == encodings: locale=UTF-8 FS=utf-8 == resources: all test resources are disabled, use -u option to unskip tests Using random seed: 1137981927 Raised RLIMIT_NOFILE: 256 -> 1024 0:00:00 load avg: 1.47 Run 1 test sequentially 0:00:00 load avg: 1.47 [1/1] test_traceback test_KeyboardInterrupt_at_first_line_of_frame (test.test_traceback.CExcReportingTests.test_KeyboardInterrupt_at_first_line_of_frame) ... FAIL test_cause (test.test_traceback.CExcReportingTests.test_cause) ... FAIL test_cause_and_context (test.test_traceback.CExcReportingTests.test_cause_and_context) ... FAIL test_cause_recursive (test.test_traceback.CExcReportingTests.test_cause_recursive) ... FAIL test_context (test.test_traceback.CExcReportingTests.test_context) ... FAIL test_context_suppression (test.test_traceback.CExcReportingTests.test_context_suppression) ... FAIL test_exception_angle_bracketed_filename (test.test_traceback.CExcReportingTests.test_exception_angle_bracketed_filename) ... FAIL test_exception_bad__str__ (test.test_traceback.CExcReportingTests.test_exception_bad__str__) ... FAIL test_exception_group_basic (test.test_traceback.CExcReportingTests.test_exception_group_basic) ... FAIL test_exception_group_cause (test.test_traceback.CExcReportingTests.test_exception_group_cause) ... FAIL test_exception_group_context_with_context (test.test_traceback.CExcReportingTests.test_exception_group_context_with_context) ... FAIL test_exception_group_depth_limit (test.test_traceback.CExcReportingTests.test_exception_group_depth_limit) ... FAIL test_exception_group_nested (test.test_traceback.CExcReportingTests.test_exception_group_nested) ... FAIL test_exception_group_width_limit (test.test_traceback.CExcReportingTests.test_exception_group_width_limit) ... FAIL test_exception_group_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_group_with_multiple_notes) ... FAIL test_exception_group_with_notes (test.test_traceback.CExcReportingTests.test_exception_group_with_notes) ... FAIL test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) ... test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='__main__') ... FAIL test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='builtins') ... FAIL test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='some_module') ... FAIL test_exception_modulename_not_unicode (test.test_traceback.CExcReportingTests.test_exception_modulename_not_unicode) ... FAIL test_exception_qualname (test.test_traceback.CExcReportingTests.test_exception_qualname) ... FAIL test_exception_with_invalid_notes (test.test_traceback.CExcReportingTests.test_exception_with_invalid_notes) ... ok test_exception_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_with_multiple_notes) ... ok test_exception_with_note (test.test_traceback.CExcReportingTests.test_exception_with_note) ... ok test_message_none (test.test_traceback.CExcReportingTests.test_message_none) ... FAIL test_simple (test.test_traceback.CExcReportingTests.test_simple) ... FAIL test_syntax_error_no_lineno (test.test_traceback.CExcReportingTests.test_syntax_error_no_lineno) ... FAIL test_syntax_error_offset_at_eol (test.test_traceback.CExcReportingTests.test_syntax_error_offset_at_eol) ... FAIL test_syntax_error_various_offsets (test.test_traceback.CExcReportingTests.test_syntax_error_various_offsets) ... FAIL test_attribute_error_inside_nested_getattr (test.test_traceback.CPythonSuggestionFormattingTests.test_attribute_error_inside_nested_getattr) ... ok test_attribute_error_with_bad_name (test.test_traceback.CPythonSuggestionFormattingTests.test_attribute_error_with_bad_name) ... ok test_attribute_error_with_failing_dict (test.test_traceback.CPythonSuggestionFormattingTests.test_attribute_error_with_failing_dict) ... ok test_getattr_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_getattr_suggestions (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions) ... ok test_getattr_suggestions_do_not_trigger_for_big_dicts (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_big_dicts) ... ok test_getattr_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_long_attributes) ... ok test_getattr_suggestions_for_same_name (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_for_same_name) ... ok test_getattr_suggestions_invalid_args (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_invalid_args) ... ok test_getattr_suggestions_no_args (test.test_traceback.CPythonSuggestionFormattingTests.test_getattr_suggestions_no_args) ... ok test_import_from_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_import_from_error_with_bad_name (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_error_with_bad_name) ... ok test_import_from_suggestions (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_suggestions) ... ok test_import_from_suggestions_do_not_trigger_for_big_namespaces (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_big_namespaces) ... ok test_import_from_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.CPythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_long_attributes) ... ok test_name_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_name_error_for_private_stdlib_modules (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_for_private_stdlib_modules) ... ok test_name_error_for_stdlib_modules (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_for_stdlib_modules) ... ok test_name_error_suggestions (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions) ... ok test_name_error_suggestions_do_not_trigger_for_long_names (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_long_names) ... ok test_name_error_suggestions_do_not_trigger_for_too_many_locals (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_too_many_locals) ... ok test_name_error_suggestions_from_builtins (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins) ... ok test_name_error_suggestions_from_builtins_when_builtins_is_module (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins_when_builtins_is_module) ... ok test_name_error_suggestions_from_globals (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_suggestions_from_globals) ... ok test_name_error_with_custom_exceptions (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_with_custom_exceptions) ... ok test_name_error_with_instance (test.test_traceback.CPythonSuggestionFormattingTests.test_name_error_with_instance) ... ok test_unbound_local_error_does_not_match (test.test_traceback.CPythonSuggestionFormattingTests.test_unbound_local_error_does_not_match) ... ok test_unbound_local_error_with_instance (test.test_traceback.CPythonSuggestionFormattingTests.test_unbound_local_error_with_instance) ... ok test_basic_caret (test.test_traceback.CPythonTracebackErrorCaretTests.test_basic_caret) ... FAIL test_byte_offset_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_multiline) ... FAIL test_byte_offset_wide_chars_subscript (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_wide_chars_subscript) ... FAIL test_byte_offset_with_emojis_term_highlight (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... FAIL test_byte_offset_with_wide_characters_middle (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... FAIL test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... FAIL test_caret_exception_group (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_exception_group) ... FAIL test_caret_for_binary_operators (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators) ... FAIL test_caret_for_binary_operators_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline) ... FAIL test_caret_for_binary_operators_multiline_two_char (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline_two_char) ... FAIL test_caret_for_binary_operators_multiline_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline_with_unicode) ... FAIL test_caret_for_binary_operators_two_char (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_two_char) ... FAIL test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ... FAIL test_caret_for_binary_operators_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... FAIL test_caret_for_call (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call) ... FAIL test_caret_for_call_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call_multiline) ... FAIL test_caret_for_call_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call_unicode) ... FAIL test_caret_for_call_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call_with_spaces_and_parenthesis) ... FAIL test_caret_for_subscript (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript) ... FAIL test_caret_for_subscript_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_multiline) ... FAIL test_caret_for_subscript_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_unicode) ... FAIL test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... FAIL test_caret_in_type_annotation (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_in_type_annotation) ... FAIL test_caret_multiline_expression (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression) ... FAIL test_caret_multiline_expression_bin_op (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression_bin_op) ... FAIL test_caret_multiline_expression_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ... FAIL test_decorator_application_lineno_correct (test.test_traceback.CPythonTracebackErrorCaretTests.test_decorator_application_lineno_correct) ... FAIL test_line_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_line_with_unicode) ... FAIL test_many_lines (test.test_traceback.CPythonTracebackErrorCaretTests.test_many_lines) ... FAIL test_many_lines_binary_op (test.test_traceback.CPythonTracebackErrorCaretTests.test_many_lines_binary_op) ... FAIL test_many_lines_no_caret (test.test_traceback.CPythonTracebackErrorCaretTests.test_many_lines_no_caret) ... FAIL test_memory_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_memory_error) ... FAIL test_multiline_method_call_a (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_a) ... FAIL test_multiline_method_call_b (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_b) ... FAIL test_multiline_method_call_c (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_c) ... FAIL test_secondary_caret_not_elided (test.test_traceback.CPythonTracebackErrorCaretTests.test_secondary_caret_not_elided) ... FAIL test_specialization_variations (test.test_traceback.CPythonTracebackErrorCaretTests.test_specialization_variations) ... FAIL test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ... FAIL test_traceback_very_long_line (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_very_long_line) ... FAIL test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.CPythonTracebackErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... FAIL test_basic_caret (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_basic_caret) ... FAIL test_byte_offset_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_multiline) ... FAIL test_byte_offset_wide_chars_subscript (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_wide_chars_subscript) ... FAIL test_byte_offset_with_emojis_term_highlight (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... FAIL test_byte_offset_with_wide_characters_middle (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... FAIL test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... FAIL test_caret_exception_group (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_exception_group) ... FAIL test_caret_for_binary_operators (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators) ... FAIL test_caret_for_binary_operators_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_multiline) ... FAIL test_caret_for_binary_operators_multiline_two_char (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_multiline_two_char) ... FAIL test_caret_for_binary_operators_multiline_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_multiline_with_unicode) ... FAIL test_caret_for_binary_operators_two_char (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_two_char) ... FAIL test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ... FAIL test_caret_for_binary_operators_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... FAIL test_caret_for_call (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call) ... FAIL test_caret_for_call_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call_multiline) ... FAIL test_caret_for_call_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call_unicode) ... FAIL test_caret_for_call_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call_with_spaces_and_parenthesis) ... FAIL test_caret_for_subscript (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript) ... FAIL test_caret_for_subscript_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_multiline) ... FAIL test_caret_for_subscript_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_unicode) ... FAIL test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... FAIL test_caret_in_type_annotation (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_in_type_annotation) ... FAIL test_caret_multiline_expression (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression) ... FAIL test_caret_multiline_expression_bin_op (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression_bin_op) ... FAIL test_caret_multiline_expression_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression_syntax_error) ... FAIL test_decorator_application_lineno_correct (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_decorator_application_lineno_correct) ... FAIL test_line_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_line_with_unicode) ... FAIL test_many_lines (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_many_lines) ... FAIL test_many_lines_binary_op (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_many_lines_binary_op) ... FAIL test_many_lines_no_caret (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_many_lines_no_caret) ... FAIL test_memory_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_memory_error) ... FAIL test_multiline_method_call_a (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_a) ... FAIL test_multiline_method_call_b (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_b) ... FAIL test_multiline_method_call_c (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_c) ... FAIL test_secondary_caret_not_elided (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_secondary_caret_not_elided) ... FAIL test_specialization_variations (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_specialization_variations) ... FAIL test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_specialization_with_syntax_error) ... FAIL test_traceback_very_long_line (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_very_long_line) ... FAIL test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... FAIL test_extract_stack (test.test_traceback.LimitTests.test_extract_stack) ... ok test_extract_tb (test.test_traceback.LimitTests.test_extract_tb) ... ok test_format_exception (test.test_traceback.LimitTests.test_format_exception) ... ok test_all (test.test_traceback.MiscTest.test_all) ... ok test_levenshtein_distance (test.test_traceback.MiscTest.test_levenshtein_distance) ... ok test_levenshtein_distance_short_circuit (test.test_traceback.MiscTest.test_levenshtein_distance_short_circuit) ... skipped "resource 'cpu' is not enabled" test_clear (test.test_traceback.MiscTracebackCases.test_clear) ... ok test_extract_stack (test.test_traceback.MiscTracebackCases.test_extract_stack) ... ok test_attribute_error_inside_nested_getattr (test.test_traceback.PurePythonSuggestionFormattingTests.test_attribute_error_inside_nested_getattr) ... ok test_attribute_error_with_bad_name (test.test_traceback.PurePythonSuggestionFormattingTests.test_attribute_error_with_bad_name) ... ok test_attribute_error_with_failing_dict (test.test_traceback.PurePythonSuggestionFormattingTests.test_attribute_error_with_failing_dict) ... ok test_getattr_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_getattr_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions) ... ok test_getattr_suggestions_do_not_trigger_for_big_dicts (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_big_dicts) ... ok test_getattr_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_do_not_trigger_for_long_attributes) ... ok test_getattr_suggestions_for_same_name (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_for_same_name) ... ok test_getattr_suggestions_invalid_args (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_invalid_args) ... ok test_getattr_suggestions_no_args (test.test_traceback.PurePythonSuggestionFormattingTests.test_getattr_suggestions_no_args) ... ok test_import_from_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_import_from_error_with_bad_name (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_error_with_bad_name) ... ok test_import_from_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions) ... ok test_import_from_suggestions_do_not_trigger_for_big_namespaces (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_big_namespaces) ... ok test_import_from_suggestions_do_not_trigger_for_long_attributes (test.test_traceback.PurePythonSuggestionFormattingTests.test_import_from_suggestions_do_not_trigger_for_long_attributes) ... ok test_name_error_bad_suggestions_do_not_trigger_for_small_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_bad_suggestions_do_not_trigger_for_small_names) ... ok test_name_error_for_private_stdlib_modules (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_for_private_stdlib_modules) ... ok test_name_error_for_stdlib_modules (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_for_stdlib_modules) ... ok test_name_error_suggestions (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions) ... ok test_name_error_suggestions_do_not_trigger_for_long_names (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_long_names) ... ok test_name_error_suggestions_do_not_trigger_for_too_many_locals (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_do_not_trigger_for_too_many_locals) ... ok test_name_error_suggestions_from_builtins (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins) ... ok test_name_error_suggestions_from_builtins_when_builtins_is_module (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_from_builtins_when_builtins_is_module) ... ok test_name_error_suggestions_from_globals (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_suggestions_from_globals) ... ok test_name_error_with_custom_exceptions (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_with_custom_exceptions) ... ok test_name_error_with_instance (test.test_traceback.PurePythonSuggestionFormattingTests.test_name_error_with_instance) ... ok test_unbound_local_error_does_not_match (test.test_traceback.PurePythonSuggestionFormattingTests.test_unbound_local_error_does_not_match) ... ok test_unbound_local_error_with_instance (test.test_traceback.PurePythonSuggestionFormattingTests.test_unbound_local_error_with_instance) ... ok test_basic_caret (test.test_traceback.PurePythonTracebackErrorCaretTests.test_basic_caret) ... ok test_byte_offset_multiline (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_multiline) ... ok test_byte_offset_wide_chars_subscript (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_wide_chars_subscript) ... ok test_byte_offset_with_emojis_term_highlight (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ... ok test_byte_offset_with_wide_characters_middle (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_middle) ... ok test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.PurePythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ... ok test_caret_exception_group (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_exception_group) ... ok test_caret_for_binary_operators (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators) ... ok test_caret_for_binary_operators_multiline (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline) ... ok test_caret_for_binary_operators_multiline_two_char (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline_two_char) ... ok test_caret_for_binary_operators_multiline_with_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline_with_unicode) ... ok test_caret_for_binary_operators_two_char (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_two_char) ... ok test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ... ok test_caret_for_binary_operators_with_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_unicode) ... ok test_caret_for_call (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_call) ... ok test_caret_for_call_multiline (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_call_multiline) ... ok test_caret_for_call_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_call_unicode) ... ok test_caret_for_call_with_spaces_and_parenthesis (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_call_with_spaces_and_parenthesis) ... ok test_caret_for_subscript (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript) ... ok test_caret_for_subscript_multiline (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_multiline) ... ok test_caret_for_subscript_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_unicode) ... ok test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ... ok test_caret_in_type_annotation (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_in_type_annotation) ... ok test_caret_multiline_expression (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression) ... ok test_caret_multiline_expression_bin_op (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_bin_op) ... ok test_caret_multiline_expression_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ... ok test_decorator_application_lineno_correct (test.test_traceback.PurePythonTracebackErrorCaretTests.test_decorator_application_lineno_correct) ... ok test_line_with_unicode (test.test_traceback.PurePythonTracebackErrorCaretTests.test_line_with_unicode) ... ok test_many_lines (test.test_traceback.PurePythonTracebackErrorCaretTests.test_many_lines) ... ok test_many_lines_binary_op (test.test_traceback.PurePythonTracebackErrorCaretTests.test_many_lines_binary_op) ... ok test_many_lines_no_caret (test.test_traceback.PurePythonTracebackErrorCaretTests.test_many_lines_no_caret) ... ok test_memory_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_memory_error) ... ok test_multiline_method_call_a (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_a) ... ok test_multiline_method_call_b (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_b) ... ok test_multiline_method_call_c (test.test_traceback.PurePythonTracebackErrorCaretTests.test_multiline_method_call_c) ... ok test_secondary_caret_not_elided (test.test_traceback.PurePythonTracebackErrorCaretTests.test_secondary_caret_not_elided) ... ok test_specialization_variations (test.test_traceback.PurePythonTracebackErrorCaretTests.test_specialization_variations) ... ok test_traceback_specialization_with_syntax_error (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ... ok test_traceback_very_long_line (test.test_traceback.PurePythonTracebackErrorCaretTests.test_traceback_very_long_line) ... ok test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.PurePythonTracebackErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ... ok test_KeyboardInterrupt_at_first_line_of_frame (test.test_traceback.PyExcReportingTests.test_KeyboardInterrupt_at_first_line_of_frame) ... ok test_cause (test.test_traceback.PyExcReportingTests.test_cause) ... ok test_cause_and_context (test.test_traceback.PyExcReportingTests.test_cause_and_context) ... ok test_cause_recursive (test.test_traceback.PyExcReportingTests.test_cause_recursive) ... ok test_context (test.test_traceback.PyExcReportingTests.test_context) ... ok test_context_suppression (test.test_traceback.PyExcReportingTests.test_context_suppression) ... ok test_exception_angle_bracketed_filename (test.test_traceback.PyExcReportingTests.test_exception_angle_bracketed_filename) ... ok test_exception_bad__str__ (test.test_traceback.PyExcReportingTests.test_exception_bad__str__) ... ok test_exception_group_basic (test.test_traceback.PyExcReportingTests.test_exception_group_basic) ... ok test_exception_group_cause (test.test_traceback.PyExcReportingTests.test_exception_group_cause) ... ok test_exception_group_context_with_context (test.test_traceback.PyExcReportingTests.test_exception_group_context_with_context) ... ok test_exception_group_depth_limit (test.test_traceback.PyExcReportingTests.test_exception_group_depth_limit) ... ok test_exception_group_nested (test.test_traceback.PyExcReportingTests.test_exception_group_nested) ... ok test_exception_group_width_limit (test.test_traceback.PyExcReportingTests.test_exception_group_width_limit) ... ok test_exception_group_with_multiple_notes (test.test_traceback.PyExcReportingTests.test_exception_group_with_multiple_notes) ... ok test_exception_group_with_notes (test.test_traceback.PyExcReportingTests.test_exception_group_with_notes) ... ok test_exception_modulename (test.test_traceback.PyExcReportingTests.test_exception_modulename) ... ok test_exception_modulename_not_unicode (test.test_traceback.PyExcReportingTests.test_exception_modulename_not_unicode) ... ok test_exception_qualname (test.test_traceback.PyExcReportingTests.test_exception_qualname) ... ok test_exception_with_invalid_notes (test.test_traceback.PyExcReportingTests.test_exception_with_invalid_notes) ... ok test_exception_with_multiple_notes (test.test_traceback.PyExcReportingTests.test_exception_with_multiple_notes) ... ok test_exception_with_note (test.test_traceback.PyExcReportingTests.test_exception_with_note) ... ok test_message_none (test.test_traceback.PyExcReportingTests.test_message_none) ... ok test_simple (test.test_traceback.PyExcReportingTests.test_simple) ... ok test_syntax_error_no_lineno (test.test_traceback.PyExcReportingTests.test_syntax_error_no_lineno) ... ok test_syntax_error_offset_at_eol (test.test_traceback.PyExcReportingTests.test_syntax_error_offset_at_eol) ... ok test_syntax_error_various_offsets (test.test_traceback.PyExcReportingTests.test_syntax_error_various_offsets) ... ok test_colorized_detection_checks_for_environment_variables (test.test_traceback.TestColorizedTraceback.test_colorized_detection_checks_for_environment_variables) ... FAIL test_colorized_syntax_error (test.test_traceback.TestColorizedTraceback.test_colorized_syntax_error) ... ok test_colorized_traceback (test.test_traceback.TestColorizedTraceback.test_colorized_traceback) ... ok test_colorized_traceback_is_the_default (test.test_traceback.TestColorizedTraceback.test_colorized_traceback_is_the_default) ... ok test_exception_group_deep_recursion_capi (test.test_traceback.TestFallbackTracebackFormat.test_exception_group_deep_recursion_capi) ... ok test_exception_group_deep_recursion_traceback (test.test_traceback.TestFallbackTracebackFormat.test_exception_group_deep_recursion_traceback) ... ok test_format_stack (test.test_traceback.TestFallbackTracebackFormat.test_format_stack) ... ok test_print_exception_bad_type_capi (test.test_traceback.TestFallbackTracebackFormat.test_print_exception_bad_type_capi) ... ok test_print_exception_bad_type_python (test.test_traceback.TestFallbackTracebackFormat.test_print_exception_bad_type_python) ... ok test_print_stack (test.test_traceback.TestFallbackTracebackFormat.test_print_stack) ... ok test_recursive_traceback (test.test_traceback.TestFallbackTracebackFormat.test_recursive_traceback) ... ok test_stack_format (test.test_traceback.TestFallbackTracebackFormat.test_stack_format) ... ok test_traceback_format (test.test_traceback.TestFallbackTracebackFormat.test_traceback_format) ... ok test_traceback_format_with_cleared_frames (test.test_traceback.TestFallbackTracebackFormat.test_traceback_format_with_cleared_frames) ... ok test_unhashable (test.test_traceback.TestFallbackTracebackFormat.test_unhashable) ... ok test_basics (test.test_traceback.TestFrame.test_basics) ... ok test_explicit_line (test.test_traceback.TestFrame.test_explicit_line) ... ok test_lazy_lines (test.test_traceback.TestFrame.test_lazy_lines) ... ok test_len (test.test_traceback.TestFrame.test_len) ... ok test_no_line (test.test_traceback.TestFrame.test_no_line) ... ok test_custom_format_frame (test.test_traceback.TestStack.test_custom_format_frame) ... ok test_dropping_frames (test.test_traceback.TestStack.test_dropping_frames) ... ok test_extract_stack (test.test_traceback.TestStack.test_extract_stack) ... ok test_extract_stack_limit (test.test_traceback.TestStack.test_extract_stack_limit) ... ok test_extract_stack_lookup_lines (test.test_traceback.TestStack.test_extract_stack_lookup_lines) ... ok test_extract_stackup_deferred_lookup_lines (test.test_traceback.TestStack.test_extract_stackup_deferred_lookup_lines) ... ok test_format_locals (test.test_traceback.TestStack.test_format_locals) ... ok test_format_smoke (test.test_traceback.TestStack.test_format_smoke) ... ok test_from_list (test.test_traceback.TestStack.test_from_list) ... ok test_from_list_edited_stack (test.test_traceback.TestStack.test_from_list_edited_stack) ... ok test_locals (test.test_traceback.TestStack.test_locals) ... ok test_no_locals (test.test_traceback.TestStack.test_no_locals) ... ok test_walk_stack (test.test_traceback.TestStack.test_walk_stack) ... ok test_walk_tb (test.test_traceback.TestStack.test_walk_tb) ... ok test_cause (test.test_traceback.TestTracebackException.test_cause) ... ok test_compact_no_cause (test.test_traceback.TestTracebackException.test_compact_no_cause) ... ok test_compact_with_cause (test.test_traceback.TestTracebackException.test_compact_with_cause) ... ok test_comparison_basic (test.test_traceback.TestTracebackException.test_comparison_basic) ... ok test_comparison_equivalent_exceptions_are_equal (test.test_traceback.TestTracebackException.test_comparison_equivalent_exceptions_are_equal) ... ok test_comparison_params_variations (test.test_traceback.TestTracebackException.test_comparison_params_variations) ... ok test_context (test.test_traceback.TestTracebackException.test_context) ... ok test_from_exception (test.test_traceback.TestTracebackException.test_from_exception) ... ok test_limit (test.test_traceback.TestTracebackException.test_limit) ... ok test_locals (test.test_traceback.TestTracebackException.test_locals) ... ok test_long_context_chain (test.test_traceback.TestTracebackException.test_long_context_chain) ... ok test_lookup_lines (test.test_traceback.TestTracebackException.test_lookup_lines) ... ok test_no_locals (test.test_traceback.TestTracebackException.test_no_locals) ... ok test_no_refs_to_exception_and_traceback_objects (test.test_traceback.TestTracebackException.test_no_refs_to_exception_and_traceback_objects) ... ok test_no_save_exc_type (test.test_traceback.TestTracebackException.test_no_save_exc_type) ... ok test_print (test.test_traceback.TestTracebackException.test_print) ... ok test_smoke_builtin (test.test_traceback.TestTracebackException.test_smoke_builtin) ... ok test_smoke_user_exception (test.test_traceback.TestTracebackException.test_smoke_user_exception) ... ok test_traceback_header (test.test_traceback.TestTracebackException.test_traceback_header) ... ok test_unhashable (test.test_traceback.TestTracebackException.test_unhashable) ... ok test_comparison (test.test_traceback.TestTracebackException_ExceptionGroups.test_comparison) ... ok test_exception_group_construction (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_construction) ... ok test_exception_group_format (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_format) ... ok test_exception_group_format_exception_only (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_format_exception_only) ... ok test_exception_group_format_exception_onlyi_recursive (test.test_traceback.TestTracebackException_ExceptionGroups.test_exception_group_format_exception_onlyi_recursive) ... ok test_max_group_depth (test.test_traceback.TestTracebackException_ExceptionGroups.test_max_group_depth) ... ok test_max_group_width (test.test_traceback.TestTracebackException_ExceptionGroups.test_max_group_width) ... ok test_exception_group_deep_recursion_capi (test.test_traceback.TestTracebackFormat.test_exception_group_deep_recursion_capi) ... ok test_exception_group_deep_recursion_traceback (test.test_traceback.TestTracebackFormat.test_exception_group_deep_recursion_traceback) ... ok test_format_stack (test.test_traceback.TestTracebackFormat.test_format_stack) ... ok test_print_exception_bad_type_capi (test.test_traceback.TestTracebackFormat.test_print_exception_bad_type_capi) ... ok test_print_exception_bad_type_python (test.test_traceback.TestTracebackFormat.test_print_exception_bad_type_python) ... ok test_print_stack (test.test_traceback.TestTracebackFormat.test_print_stack) ... ok test_recursive_traceback (test.test_traceback.TestTracebackFormat.test_recursive_traceback) ... ok test_stack_format (test.test_traceback.TestTracebackFormat.test_stack_format) ... ok test_traceback_format (test.test_traceback.TestTracebackFormat.test_traceback_format) ... ok test_traceback_format_with_cleared_frames (test.test_traceback.TestTracebackFormat.test_traceback_format_with_cleared_frames) ... ok test_unhashable (test.test_traceback.TestTracebackFormat.test_unhashable) ... FAIL test_bad_indentation (test.test_traceback.TracebackCases.test_bad_indentation) ... ok test_base_exception (test.test_traceback.TracebackCases.test_base_exception) ... ok test_caret (test.test_traceback.TracebackCases.test_caret) ... ok test_encoded_file (test.test_traceback.TracebackCases.test_encoded_file) ... FAIL test_exception_is_None (test.test_traceback.TracebackCases.test_exception_is_None) ... ok test_format_base_exception_group (test.test_traceback.TracebackCases.test_format_base_exception_group) ... ok test_format_exception_exc (test.test_traceback.TracebackCases.test_format_exception_exc) ... ok test_format_exception_group (test.test_traceback.TracebackCases.test_format_exception_group) ... ok test_format_exception_group_explicit_class (test.test_traceback.TracebackCases.test_format_exception_group_explicit_class) ... ok test_format_exception_group_multiline2_messages (test.test_traceback.TracebackCases.test_format_exception_group_multiline2_messages) ... ok test_format_exception_group_multiline_messages (test.test_traceback.TracebackCases.test_format_exception_group_multiline_messages) ... ok test_format_exception_group_multiple_exceptions (test.test_traceback.TracebackCases.test_format_exception_group_multiple_exceptions) ... ok test_format_exception_group_nested_with_notes (test.test_traceback.TracebackCases.test_format_exception_group_nested_with_notes) ... ok test_format_exception_group_syntax_error (test.test_traceback.TracebackCases.test_format_exception_group_syntax_error) ... ok test_format_exception_group_with_cause (test.test_traceback.TracebackCases.test_format_exception_group_with_cause) ... ok test_format_exception_group_with_note (test.test_traceback.TracebackCases.test_format_exception_group_with_note) ... ok test_format_exception_group_with_tracebacks (test.test_traceback.TracebackCases.test_format_exception_group_with_tracebacks) ... ok test_format_exception_group_without_show_group (test.test_traceback.TracebackCases.test_format_exception_group_without_show_group) ... ok test_format_exception_only_bad__str__ (test.test_traceback.TracebackCases.test_format_exception_only_bad__str__) ... ok test_format_exception_only_exc (test.test_traceback.TracebackCases.test_format_exception_only_exc) ... ok test_no_caret_with_no_debug_ranges_flag (test.test_traceback.TracebackCases.test_no_caret_with_no_debug_ranges_flag) ... FAIL test_no_caret_with_no_debug_ranges_flag_python_traceback (test.test_traceback.TracebackCases.test_no_caret_with_no_debug_ranges_flag_python_traceback) ... ok test_nocaret (test.test_traceback.TracebackCases.test_nocaret) ... ok test_print_exception (test.test_traceback.TracebackCases.test_print_exception) ... ok test_print_exception_exc (test.test_traceback.TracebackCases.test_print_exception_exc) ... ok test_print_traceback_at_exit (test.test_traceback.TracebackCases.test_print_traceback_at_exit) ... ok test_recursion_error_during_traceback (test.test_traceback.TracebackCases.test_recursion_error_during_traceback) ... ok test_signatures (test.test_traceback.TracebackCases.test_signatures) ... ok ====================================================================== FAIL: test_KeyboardInterrupt_at_first_line_of_frame (test.test_traceback.CExcReportingTests.test_KeyboardInterrupt_at_first_line_of_frame) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2725, in test_KeyboardInterrupt_at_first_line_of_frame self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: 'Trac[34 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[124 chars]0m\n' != 'Trac[34 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[62 chars]pt\n' Traceback (most recent call last): - File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2704, in f ? ----- ---- ----- ---- ----- ---- + File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2704, in f def f(): - KeyboardInterrupt ? ------- ---- + KeyboardInterrupt ====================================================================== FAIL: test_cause (test.test_traceback.CExcReportingTests.test_cause) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2010, in test_cause self.check_zero_div(blocks[0]) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1980, in check_zero_div self.assertIn('1/0 # In zero_div', lines[-3]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '1/0 # In zero_div' not found in ' \x1b[31m1\x1b[0m\x1b[1;31m/\x1b[0m\x1b[31m0\x1b[0m # In zero_div' ====================================================================== FAIL: test_cause_and_context (test.test_traceback.CExcReportingTests.test_cause_and_context) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2059, in test_cause_and_context self.check_zero_div(blocks[0]) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1980, in check_zero_div self.assertIn('1/0 # In zero_div', lines[-3]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '1/0 # In zero_div' not found in ' \x1b[31m1\x1b[0m\x1b[1;31m/\x1b[0m\x1b[31m0\x1b[0m # In zero_div' ====================================================================== FAIL: test_cause_recursive (test.test_traceback.CExcReportingTests.test_cause_recursive) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2082, in test_cause_recursive self.assertIn('inner_raise() # Marker', blocks[2]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'inner_raise() # Marker' not found in 'Traceback (most recent call last):\n File \x1b[35m"/Users/alexw/dev/cpython/Lib/test/test_traceback.py"\x1b[0m, line \x1b[35m1964\x1b[0m, in \x1b[35mget_exception\x1b[0m\n \x1b[31mexception_or_callable\x1b[0m\x1b[1;31m()\x1b[0m\n \x1b[31m~~~~~~~~~~~~~~~~~~~~~\x1b[0m\x1b[1;31m^^\x1b[0m\n File \x1b[35m"/Users/alexw/dev/cpython/Lib/test/test_traceback.py"\x1b[0m, line \x1b[35m2073\x1b[0m, in \x1b[35mouter_raise\x1b[0m\n \x1b[31minner_raise\x1b[0m\x1b[1;31m()\x1b[0m # Marker\n \x1b[31m~~~~~~~~~~~\x1b[0m\x1b[1;31m^^\x1b[0m\n File \x1b[35m"/Users/alexw/dev/cpython/Lib/test/test_traceback.py"\x1b[0m, line \x1b[35m2071\x1b[0m, in \x1b[35minner_raise\x1b[0m\n raise z from e\n File \x1b[35m"/Users/alexw/dev/cpython/Lib/test/test_traceback.py"\x1b[0m, line \x1b[35m2066\x1b[0m, in \x1b[35minner_raise\x1b[0m\n \x1b[31mself.zero_div\x1b[0m\x1b[1;31m()\x1b[0m\n \x1b[31m~~~~~~~~~~~~~\x1b[0m\x1b[1;31m^^\x1b[0m\n File \x1b[35m"/Users/alexw/dev/cpython/Lib/test/test_traceback.py"\x1b[0m, line \x1b[35m1971\x1b[0m, in \x1b[35mzero_div\x1b[0m\n \x1b[31m1\x1b[0m\x1b[1;31m/\x1b[0m\x1b[31m0\x1b[0m # In zero_div\n \x1b[31m~\x1b[0m\x1b[1;31m^\x1b[0m\x1b[31m~\x1b[0m\n\x1b[1;35mZeroDivisionError\x1b[0m: \x1b[35mdivision by zero\x1b[0m\n' ====================================================================== FAIL: test_context (test.test_traceback.CExcReportingTests.test_context) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2024, in test_context self.check_zero_div(blocks[0]) ~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^ File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1980, in check_zero_div self.assertIn('1/0 # In zero_div', lines[-3]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '1/0 # In zero_div' not found in ' \x1b[31m1\x1b[0m\x1b[1;31m/\x1b[0m\x1b[31m0\x1b[0m # In zero_div' ====================================================================== FAIL: test_context_suppression (test.test_traceback.CExcReportingTests.test_context_suppression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2037, in test_context_suppression self.assertTrue(lines[3].startswith('ZeroDivisionError')) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: False is not true ====================================================================== FAIL: test_exception_angle_bracketed_filename (test.test_traceback.CExcReportingTests.test_exception_angle_bracketed_filename) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2292, in test_exception_angle_bracketed_filename self.assertIn(exp, err) ~~~~~~~~~~~~~^^^^^^^^^^ AssertionError: ' File "", line 3, in \nValueError: 42\n' not found in 'Traceback (most recent call last):\n File \x1b[35m""\x1b[0m, line \x1b[35m3\x1b[0m, in \x1b[35m\x1b[0m\n\x1b[1;35mValueError\x1b[0m: \x1b[35m42\x1b[0m\n' ====================================================================== FAIL: test_exception_bad__str__ (test.test_traceback.CExcReportingTests.test_exception_bad__str__) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2312, in test_exception_bad__str__ self.assertEqual(MODULE_PREFIX + err, f"{str_name}: {str_value}\n") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '\x1b[1;35mtest.test_traceback.BaseExcepti[99 chars]0m\n' != 'test.test_traceback.BaseExceptionReportin[67 chars]d>\n' - test.test_traceback.BaseExceptionReportingTests.test_exception_bad__str__..X:  ? ------- ---- ----- ---- + test.test_traceback.BaseExceptionReportingTests.test_exception_bad__str__..X: ====================================================================== FAIL: test_exception_group_basic (test.test_traceback.CExcReportingTests.test_exception_group_basic) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2336, in test_exception_group_basic self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' + [58 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[654 chars]--\n' != ' + [58 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[468 chars]--\n' Diff is 1409 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_cause (test.test_traceback.CExcReportingTests.test_exception_group_cause) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2372, in test_exception_group_cause self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' + [58 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[1211 chars]--\n' != ' + [58 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[948 chars]--\n' Diff is 2259 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_context_with_context (test.test_traceback.CExcReportingTests.test_exception_group_context_with_context) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2419, in test_exception_group_context_with_context self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' + [58 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[1500 chars]0m\n' != ' + [58 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[1160 chars] 5\n' Diff is 2609 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_depth_limit (test.test_traceback.CExcReportingTests.test_exception_group_depth_limit) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2595, in test_exception_group_depth_limit self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' | \x1b[1;35mExceptionGroup\x1b[0m: \x1b[35m[3286 chars]--\n' != ' | ExceptionGroup: eg999 (3 sub-exceptions)\[3254 chars]--\n' Diff is 3509 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_nested (test.test_traceback.CExcReportingTests.test_exception_group_nested) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2469, in test_exception_group_nested self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' + [58 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[1566 chars]--\n' != ' + [58 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[1303 chars]--\n' Diff is 2618 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_width_limit (test.test_traceback.CExcReportingTests.test_exception_group_width_limit) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2513, in test_exception_group_width_limit self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' | \x1b[1;35mExceptionGroup\x1b[0m: \x1b[35m[1103 chars]--\n' != ' | ExceptionGroup: eg (1000 sub-exceptions)\[1071 chars]--\n' Diff is 1289 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_with_multiple_notes (test.test_traceback.CExcReportingTests.test_exception_group_with_multiple_notes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2700, in test_exception_group_with_multiple_notes self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' + [58 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[1246 chars]--\n' != ' + [58 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[1060 chars]--\n' Diff is 2026 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_group_with_notes (test.test_traceback.CExcReportingTests.test_exception_group_with_notes) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2645, in test_exception_group_with_notes self.assertEqual(report, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: ' + [58 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[1177 chars]--\n' != ' + [58 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[991 chars]--\n' Diff is 1954 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='__main__') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2277, in test_exception_modulename self.assertEqual(exp, err) ~~~~~~~~~~~~~~~~^^^^^^^^^^ AssertionError: 'BaseExceptionReportingTests.test_exceptio[29 chars] X\n' != '\x1b[1;35mBaseExceptionReportingTests.tes[61 chars]0m\n' - BaseExceptionReportingTests.test_exception_modulename..X: I am X + BaseExceptionReportingTests.test_exception_modulename..X: I am X ? +++++++ ++++ +++++ ++++ ====================================================================== FAIL: test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='builtins') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2277, in test_exception_modulename self.assertEqual(exp, err) ~~~~~~~~~~~~~~~~^^^^^^^^^^ AssertionError: 'BaseExceptionReportingTests.test_exceptio[29 chars] X\n' != '\x1b[1;35mBaseExceptionReportingTests.tes[61 chars]0m\n' - BaseExceptionReportingTests.test_exception_modulename..X: I am X + BaseExceptionReportingTests.test_exception_modulename..X: I am X ? +++++++ ++++ +++++ ++++ ====================================================================== FAIL: test_exception_modulename (test.test_traceback.CExcReportingTests.test_exception_modulename) (modulename='some_module') ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2277, in test_exception_modulename self.assertEqual(exp, err) ~~~~~~~~~~~~~~~~^^^^^^^^^^ AssertionError: 'some_module.BaseExceptionReportingTests.t[41 chars] X\n' != '\x1b[1;35msome_module.BaseExceptionReport[73 chars]0m\n' - some_module.BaseExceptionReportingTests.test_exception_modulename..X: I am X + some_module.BaseExceptionReportingTests.test_exception_modulename..X: I am X ? +++++++ ++++ +++++ ++++ ====================================================================== FAIL: test_exception_modulename_not_unicode (test.test_traceback.CExcReportingTests.test_exception_modulename_not_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2303, in test_exception_modulename_not_unicode self.assertEqual(exp, err) ~~~~~~~~~~~~~~~~^^^^^^^^^^ AssertionError: '.BaseExceptionReportingTests.tes[51 chars] X\n' != '\x1b[1;35m.BaseExceptionReportin[83 chars]0m\n' - .BaseExceptionReportingTests.test_exception_modulename_not_unicode..X: I am X + .BaseExceptionReportingTests.test_exception_modulename_not_unicode..X: I am X ? +++++++ ++++ +++++ ++++ ====================================================================== FAIL: test_exception_qualname (test.test_traceback.CExcReportingTests.test_exception_qualname) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2260, in test_exception_qualname self.assertEqual(exp, MODULE_PREFIX + err) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'test.test_traceback.BaseExceptionReportin[51 chars] X\n' != '\x1b[1;35mtest.test_traceback.BaseExcepti[83 chars]0m\n' - test.test_traceback.BaseExceptionReportingTests.test_exception_qualname..A.B.X: I am X + test.test_traceback.BaseExceptionReportingTests.test_exception_qualname..A.B.X: I am X ? +++++++ ++++ +++++ ++++ ====================================================================== FAIL: test_message_none (test.test_traceback.CExcReportingTests.test_message_none) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2124, in test_message_none self.assertIn('Exception: None\n', err) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'Exception: None\n' not found in '\x1b[1;35mException\x1b[0m: \x1b[35mNone\x1b[0m\n' ====================================================================== FAIL: test_simple (test.test_traceback.CExcReportingTests.test_simple) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1994, in test_simple self.assertTrue(lines[4].startswith('ZeroDivisionError')) ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: False is not true ====================================================================== FAIL: test_syntax_error_no_lineno (test.test_traceback.CExcReportingTests.test_syntax_error_no_lineno) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2102, in test_syntax_error_no_lineno self.assertEqual(msg, ~~~~~~~~~~~~~~~~^^^^^ ['SyntaxError: bad syntax']) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['\x1b[1;35mSyntaxError\x1b[0m: \x1b[35mbad syntax\x1b[0m'] != ['SyntaxError: bad syntax'] First differing element 0: '\x1b[1;35mSyntaxError\x1b[0m: \x1b[35mbad syntax\x1b[0m' 'SyntaxError: bad syntax' - ['\x1b[1;35mSyntaxError\x1b[0m: \x1b[35mbad syntax\x1b[0m'] + ['SyntaxError: bad syntax'] ====================================================================== FAIL: test_syntax_error_offset_at_eol (test.test_traceback.CExcReportingTests.test_syntax_error_offset_at_eol) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2090, in test_syntax_error_offset_at_eol self.assertEqual(msg[-2], " ^") ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^ AssertionError: ' \x1b[1;31m^\x1b[0m' != ' ^' - ^ + ^ ====================================================================== FAIL: test_syntax_error_various_offsets (test.test_traceback.CExcReportingTests.test_syntax_error_various_offsets) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 2149, in test_syntax_error_various_offsets self.assertEqual(exp, err) ~~~~~~~~~~~~~~~~^^^^^^^^^^ AssertionError: ' File "file.py", line 1\n text-5\nSyntaxError: msg\n' != ' File \x1b[35m"file.py"\x1b[0m, line \x1b[35m1\[66 chars]0m\n' - File "file.py", line 1 + File "file.py", line 1 text-5 - SyntaxError: msg + SyntaxError: msg ====================================================================== FAIL: test_basic_caret (test.test_traceback.CPythonTracebackErrorCaretTests.test_basic_caret) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 597, in test_basic_caret self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[449 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[261 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1388 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1427, in test_byte_offset_multiline self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[492 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[240 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1173 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_wide_chars_subscript (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_wide_chars_subscript) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1485, in test_byte_offset_wide_chars_subscript self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[468 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[250 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1098 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_with_emojis_term_highlight (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1462, in test_byte_offset_with_emojis_term_highlight self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[416 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[228 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1130 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_with_wide_characters_middle (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_middle) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1405, in test_byte_offset_with_wide_characters_middle self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[339 chars]th)'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[185 chars]th)'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 858 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.CPythonTracebackErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1445, in test_byte_offset_with_wide_characters_term_highlight self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[470 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[222 chars]~~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1072 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_exception_group (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_exception_group) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1242, in test_caret_exception_group self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: [' +[61 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[722 chars]: 2'] != [' +[61 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[502 chars]: 2'] First differing element 1: ' | File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' | File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1903 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 737, in test_caret_for_binary_operators self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[489 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[241 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1271 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 818, in test_caret_for_binary_operators_multiline self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[554 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[276 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1421 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_multiline_two_char (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline_two_char) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 855, in test_caret_for_binary_operators_multiline_two_char self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[756 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[388 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1821 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_multiline_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_multiline_with_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 877, in test_caret_for_binary_operators_multiline_with_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[534 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[256 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1175 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_two_char (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_two_char) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 773, in test_caret_for_binary_operators_two_char self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[491 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[243 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1113 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 792, in test_caret_for_binary_operators_with_spaces_and_parenthesis self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[476 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[228 chars]~^~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1239 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_binary_operators_with_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 755, in test_caret_for_binary_operators_with_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[481 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[233 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1249 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 991, in test_caret_for_call self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[595 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[332 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1611 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1068, in test_caret_for_call_multiline self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[697 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[374 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1619 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1014, in test_caret_for_call_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[595 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[332 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1611 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_call_with_spaces_and_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1035, in test_caret_for_call_with_spaces_and_parenthesis self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[621 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[358 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1503 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 895, in test_caret_for_subscript self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[464 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[246 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1245 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript_multiline (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 968, in test_caret_for_subscript_multiline self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[651 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[365 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1567 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 913, in test_caret_for_subscript_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[480 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[262 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1115 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 932, in test_caret_for_subscript_with_spaces_and_parenthesis self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[456 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[238 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1067 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_in_type_annotation (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_in_type_annotation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 634, in test_caret_in_type_annotation self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[437 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[249 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1173 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_multiline_expression (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 659, in test_caret_multiline_expression self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[588 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[332 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1539 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_multiline_expression_bin_op (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression_bin_op) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 719, in test_caret_multiline_expression_bin_op self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[464 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[216 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1065 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_multiline_expression_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_caret_multiline_expression_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 695, in test_caret_multiline_expression_syntax_error self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[586 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[304 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1443 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_decorator_application_lineno_correct (test.test_traceback.CPythonTracebackErrorCaretTests.test_decorator_application_lineno_correct) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1304, in test_decorator_application_lineno_correct self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[543 chars]ror'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[310 chars]ror'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1388 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_line_with_unicode (test.test_traceback.CPythonTracebackErrorCaretTests.test_line_with_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 616, in test_line_with_unicode self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[450 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[262 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1219 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_many_lines (test.test_traceback.CPythonTracebackErrorCaretTests.test_many_lines) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1092, in test_many_lines self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[471 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[249 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1086 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_many_lines_binary_op (test.test_traceback.CPythonTracebackErrorCaretTests.test_many_lines_binary_op) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1152, in test_many_lines_binary_op self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[752 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[354 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1520 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_many_lines_no_caret (test.test_traceback.CPythonTracebackErrorCaretTests.test_many_lines_no_caret) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1114, in test_many_lines_no_caret self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[354 chars] )'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[200 chars] )'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 879 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_memory_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_memory_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1498, in test_memory_error self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[335 chars]r()'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[181 chars]r()'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 854 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_multiline_method_call_a (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_a) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1340, in test_multiline_method_call_a self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[372 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[184 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 930 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_multiline_method_call_b (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_b) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1356, in test_multiline_method_call_b self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[322 chars]hod'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[168 chars]hod'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 841 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_multiline_method_call_c (test.test_traceback.CPythonTracebackErrorCaretTests.test_multiline_method_call_c) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1373, in test_multiline_method_call_c self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[374 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[186 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 934 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_secondary_caret_not_elided (test.test_traceback.CPythonTracebackErrorCaretTests.test_secondary_caret_not_elided) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1217, in test_secondary_caret_not_elided self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[451 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[233 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1058 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_specialization_variations (test.test_traceback.CPythonTracebackErrorCaretTests.test_specialization_variations) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1250, in test_specialization_variations self.assertSpecialized(lambda: 1/0, ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ "~^~") ^^^^^^ File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1247, in assertSpecialized self.assertEqual(specialization_line.lstrip(), expected_specialization) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '\x1b[31m~\x1b[0m\x1b[1;31m^\x1b[0m\x1b[31m~\x1b[0m' != '~^~' - ~^~ + ~^~ ====================================================================== FAIL: test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_specialization_with_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1175, in test_traceback_specialization_with_syntax_error self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[345 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[157 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 869 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_traceback_very_long_line (test.test_traceback.CPythonTracebackErrorCaretTests.test_traceback_very_long_line) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1198, in test_traceback_very_long_line self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[857 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[669 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1879 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.CPythonTracebackErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1388, in test_wide_characters_unicode_with_problematic_byte_offset self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[321 chars]dth'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[167 chars]dth'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 840 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_basic_caret (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_basic_caret) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 597, in test_basic_caret self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[449 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[261 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1388 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1427, in test_byte_offset_multiline self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[492 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[240 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1173 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_wide_chars_subscript (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_wide_chars_subscript) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1485, in test_byte_offset_wide_chars_subscript self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[468 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[250 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1098 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_with_emojis_term_highlight (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_emojis_term_highlight) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1462, in test_byte_offset_with_emojis_term_highlight self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[416 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[228 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1130 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_with_wide_characters_middle (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_wide_characters_middle) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1405, in test_byte_offset_with_wide_characters_middle self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[339 chars]th)'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[185 chars]th)'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 858 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_byte_offset_with_wide_characters_term_highlight (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_byte_offset_with_wide_characters_term_highlight) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1445, in test_byte_offset_with_wide_characters_term_highlight self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[470 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[222 chars]~~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1072 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_exception_group (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_exception_group) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1242, in test_caret_exception_group self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: [' +[61 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[722 chars]: 2'] != [' +[61 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[502 chars]: 2'] First differing element 1: ' | File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' | File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1903 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 737, in test_caret_for_binary_operators self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[489 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[241 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1271 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 818, in test_caret_for_binary_operators_multiline self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[554 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[276 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1421 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_multiline_two_char (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_multiline_two_char) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 855, in test_caret_for_binary_operators_multiline_two_char self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[756 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[388 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1821 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_multiline_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_multiline_with_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 877, in test_caret_for_binary_operators_multiline_with_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[534 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[256 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1175 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_two_char (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_two_char) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 773, in test_caret_for_binary_operators_two_char self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[491 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[243 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1113 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_with_spaces_and_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 792, in test_caret_for_binary_operators_with_spaces_and_parenthesis self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[476 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[228 chars]~^~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1239 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_binary_operators_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_binary_operators_with_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 755, in test_caret_for_binary_operators_with_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[481 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[233 chars]^~~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1249 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 991, in test_caret_for_call self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[595 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[332 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1611 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1068, in test_caret_for_call_multiline self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[697 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[374 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1619 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1014, in test_caret_for_call_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[595 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[332 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1611 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_call_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_call_with_spaces_and_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1035, in test_caret_for_call_with_spaces_and_parenthesis self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[621 chars]l")'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[358 chars]l")'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1503 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 895, in test_caret_for_subscript self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[464 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[246 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1245 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript_multiline (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_multiline) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 968, in test_caret_for_subscript_multiline self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[651 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[365 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1567 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 913, in test_caret_for_subscript_unicode self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[480 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[262 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1115 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_for_subscript_with_spaces_and_parenthesis (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_for_subscript_with_spaces_and_parenthesis) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 932, in test_caret_for_subscript_with_spaces_and_parenthesis self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[456 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[238 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1067 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_in_type_annotation (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_in_type_annotation) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 634, in test_caret_in_type_annotation self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[437 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[249 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1173 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_multiline_expression (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 659, in test_caret_multiline_expression self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[588 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[332 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1539 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_multiline_expression_bin_op (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression_bin_op) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 719, in test_caret_multiline_expression_bin_op self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[464 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[216 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1065 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_caret_multiline_expression_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_caret_multiline_expression_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 695, in test_caret_multiline_expression_syntax_error self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[586 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[304 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1443 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_decorator_application_lineno_correct (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_decorator_application_lineno_correct) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1304, in test_decorator_application_lineno_correct self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[543 chars]ror'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[310 chars]ror'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1388 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_line_with_unicode (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_line_with_unicode) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 616, in test_line_with_unicode self.assertEqual(result_lines, expected_f.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[450 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[262 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1219 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_many_lines (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_many_lines) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1092, in test_many_lines self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[471 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[249 chars] ^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1086 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_many_lines_binary_op (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_many_lines_binary_op) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1152, in test_many_lines_binary_op self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[752 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[354 chars] ~'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1520 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_many_lines_no_caret (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_many_lines_no_caret) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1114, in test_many_lines_no_caret self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[354 chars] )'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[200 chars] )'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 879 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_memory_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_memory_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1498, in test_memory_error self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[335 chars]r()'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[181 chars]r()'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 854 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_multiline_method_call_a (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_a) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1340, in test_multiline_method_call_a self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[372 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[184 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 930 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_multiline_method_call_b (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_b) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1356, in test_multiline_method_call_b self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[322 chars]hod'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[168 chars]hod'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 841 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_multiline_method_call_c (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_multiline_method_call_c) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1373, in test_multiline_method_call_c self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[374 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[186 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 934 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_secondary_caret_not_elided (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_secondary_caret_not_elided) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1217, in test_secondary_caret_not_elided self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[451 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[233 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1058 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_specialization_variations (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_specialization_variations) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1250, in test_specialization_variations self.assertSpecialized(lambda: 1/0, ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^ "~^~") ^^^^^^ File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1247, in assertSpecialized self.assertEqual(specialization_line.lstrip(), expected_specialization) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: '\x1b[31m~\x1b[0m\x1b[1;31m^\x1b[0m\x1b[31m~\x1b[0m' != '~^~' - ~^~ + ~^~ ====================================================================== FAIL: test_traceback_specialization_with_syntax_error (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_specialization_with_syntax_error) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1175, in test_traceback_specialization_with_syntax_error self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[345 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[157 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 869 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_traceback_very_long_line (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_traceback_very_long_line) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1198, in test_traceback_very_long_line self.assertEqual(result_lines, expected_error.splitlines()) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[857 chars][0m'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[669 chars]^^^'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 1879 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_wide_characters_unicode_with_problematic_byte_offset (test.test_traceback.CPythonTracebackLegacyErrorCaretTests.test_wide_characters_unicode_with_problematic_byte_offset) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1388, in test_wide_characters_unicode_with_problematic_byte_offset self.assertEqual(actual, expected) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^ AssertionError: Lists differ: ['Tra[37 chars]File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[321 chars]dth'] != ['Tra[37 chars]File "/Users/alexw/dev/cpython/Lib/test/test_t[167 chars]dth'] First differing element 1: ' File \x1b[35m"/Users/alexw/dev/cpython/Lib/tes[81 chars]b[0m' ' File "/Users/alexw/dev/cpython/Lib/test/test_t[36 chars]tion' Diff is 840 characters long. Set self.maxDiff to None to see it. ====================================================================== FAIL: test_colorized_detection_checks_for_environment_variables (test.test_traceback.TestColorizedTraceback.test_colorized_detection_checks_for_environment_variables) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 4382, in test_colorized_detection_checks_for_environment_variables self.assertEqual(traceback._can_colorize(), False) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: True != False ====================================================================== FAIL: test_unhashable (test.test_traceback.TestTracebackFormat.test_unhashable) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 1880, in test_unhashable self.assertIn('UnhashableException: ex2', tb[3]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: 'UnhashableException: ex2' not found in '\x1b[1;35mtest.test_traceback.TracebackFormatMixin.test_unhashable..UnhashableException\x1b[0m: \x1b[35mex2\x1b[0m' ====================================================================== FAIL: test_encoded_file (test.test_traceback.TracebackCases.test_encoded_file) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 430, in test_encoded_file do_test("", "foo", "ascii", 3) ~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 419, in do_test self.assertIn(("line %s" % lineno), stdout[1], ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ "Invalid line number: {0!r} instead of {1}".format( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ stdout[1], lineno)) ^^^^^^^^^^^^^^^^^^^ AssertionError: 'line 3' not found in ' File \x1b[35m"/Users/alexw/dev/cpython/build/test_python_worker_20786æ/@test_20786_tmpæ"\x1b[0m, line \x1b[35m3\x1b[0m, in \x1b[35m\x1b[0m' : Invalid line number: ' File \x1b[35m"/Users/alexw/dev/cpython/build/test_python_worker_20786æ/@test_20786_tmpæ"\x1b[0m, line \x1b[35m3\x1b[0m, in \x1b[35m\x1b[0m' instead of 3 ====================================================================== FAIL: test_no_caret_with_no_debug_ranges_flag (test.test_traceback.TracebackCases.test_no_caret_with_no_debug_ranges_flag) ---------------------------------------------------------------------- Traceback (most recent call last): File "/Users/alexw/dev/cpython/Lib/test/test_traceback.py", line 140, in test_no_caret_with_no_debug_ranges_flag self.assertIn(b'line 1, in ', lines[1]) ~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ AssertionError: b'line 1, in ' not found in b' File \x1b[35m"/Users/alexw/dev/cpython/build/test_python_worker_20786\xc3\xa6/@test_20786_tmp\xc3\xa6"\x1b[0m, line \x1b[35m1\x1b[0m, in \x1b[35m\x1b[0m' ---------------------------------------------------------------------- Ran 338 tests in 0.333s FAILED (failures=110, skipped=1) test_traceback failed (110 failures) == Tests result: FAILURE == 1 test failed: test_traceback Total duration: 377 ms Total tests: run=338 failures=110 skipped=1 Total test files: run=1/1 failed=1 Result: FAILURE