Your message dated Sun, 02 Mar 2025 01:04:34 +0000
with message-id <e1toxkw-006tnr...@fasolo.debian.org>
and subject line Bug#1098533: fixed in beancount 3.1.0-3
has caused the Debian Bug report #1098533,
regarding beancount: FTBFS: E       AssertionError: Regex didn't match: 
'Balance failed' not found in ''
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
1098533: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1098533
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: src:beancount
Version: 3.1.0-2
Severity: serious
Tags: ftbfs trixie sid

Dear maintainer:

During a rebuild of all packages in unstable, your package failed to build:

--------------------------------------------------------------------------------
[...]
 debian/rules clean
dh clean --buildsystem pybuild
   dh_auto_clean -O--buildsystem=pybuild
   debian/rules execute_after_dh_auto_clean
make[1]: Entering directory '/<<PKGBUILDDIR>>'
rm -f debian/manpages/*.1
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
   dh_autoreconf_clean -O--buildsystem=pybuild
   dh_clean -O--buildsystem=pybuild
 debian/rules binary
dh binary --buildsystem pybuild
   dh_update_autotools_config -O--buildsystem=pybuild
   dh_autoreconf -O--buildsystem=pybuild
   dh_auto_configure -O--buildsystem=pybuild

[... snipped ...]

beancount/parser/grammar_test.py::TestToleranceOptions::test_tolerance_defaults 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestDeprecatedOptions::test_deprecated_option 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestDeprecatedOptions::test_deprecated_plugin 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestParserLinks::test_links PASSED     [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_blank_line_not_allowed 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_blank_line_with_spaces_not_allowed
 PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_empty_narration PASSED 
[ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_imbalance PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_link_and_then_tag 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_no_narration PASSED [ 
81%]
beancount/parser/grammar_test.py::TestTransactions::test_no_postings PASSED [ 
81%]
beancount/parser/grammar_test.py::TestTransactions::test_payee_no_narration 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_simple_1 PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_simple_2 PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_tag_then_link PASSED [ 
81%]
beancount/parser/grammar_test.py::TestTransactions::test_tags_after_first_line 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_tags_after_first_posting
 PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_too_many_strings 
PASSED [ 81%]
beancount/parser/grammar_test.py::TestTransactions::test_zero_costs PASSED [ 
81%]
beancount/parser/grammar_test.py::TestTransactions::test_zero_prices PASSED [ 
81%]
beancount/parser/grammar_test.py::TestTransactions::test_zero_units PASSED [ 
81%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_amount PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_both_costs PASSED [ 
82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_date PASSED   [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_empty PASSED  [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_label PASSED  [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_merge PASSED  [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_none PASSED   [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_repeated PASSED [ 
82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_repeated_date PASSED 
[ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_repeated_label 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_repeated_merge 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_three_components 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_total_cost_only 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_total_empty_total 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_total_just_currency 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_two_components 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestParseLots::test_cost_with_slashes PASSED 
[ 82%]
beancount/parser/grammar_test.py::TestCurrencies::test_different_cost_and_price_currency
 PASSED [ 82%]
beancount/parser/grammar_test.py::TestCurrencies::test_parse_currencies PASSED 
[ 82%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_cost_negative PASSED 
[ 82%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_price_negative 
PASSED [ 82%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_cost PASSED [ 
82%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_cost__invalid 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_cost_negative 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_price_inverted 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_price_negative 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_price_positive 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_total_price_with_missing
 PASSED [ 83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_zero_amount PASSED [ 
83%]
beancount/parser/grammar_test.py::TestTotalsAndSigns::test_zero_cost PASSED [ 
83%]
beancount/parser/grammar_test.py::TestBalance::test_total_cost PASSED    [ 83%]
beancount/parser/grammar_test.py::TestBalance::test_total_price PASSED   [ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_data_types PASSED 
[ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_empty PASSED [ 
83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_key_syntax PASSED 
[ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_other PASSED [ 
83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_transaction__begin
 PASSED [ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_transaction__end 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_transaction__indented
 PASSED [ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_transaction__many 
PASSED [ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_transaction__middle
 PASSED [ 83%]
beancount/parser/grammar_test.py::TestMetaData::test_metadata_transaction__repeated
 PASSED [ 83%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__add PASSED 
[ 83%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__different_places
 PASSED [ 83%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__divide 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__groups 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__multiply 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__negative 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__positive 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__precedence 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestArithmetic::test_number_expr__subtract 
PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__amount
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__balance
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__close
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__commodity
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__compound_amount
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__document
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__event
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__include
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__key_value
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__lot_cost_date
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__note
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__open
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__option
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__pad
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__plugin
 PASSED [ 84%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__poptag
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__posting
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__price
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__pushtag
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__tag_link_LINK
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__tag_link_PIPE
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__tag_link_TAG
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__tag_link_new
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_exceptions__transaction
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_syntax_error
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_syntax_error__multiple
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_syntax_error__recovery
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_grammar_syntax_error__recovery2
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_lexer_errors_in_postings
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_lexer_exception
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_lexer_exception__recovery
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_lexer_invalid_token
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestLexerAndParserErrors::test_lexer_invalid_token__recovery
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_average 
PASSED [ 85%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_average_missing_basis
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_average_with_other
 PASSED [ 85%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_empty PASSED 
[ 85%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_empty_with_other
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_full PASSED [ 
86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_missing_basis 
PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_missing_currency
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_missing_number_per
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_missing_number_total
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_missing_numbers
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_cost_no_number_total
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_price_missing 
PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_price_missing_currency
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_price_missing_number
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_price_none PASSED 
[ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_full PASSED 
[ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing 
PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_currency
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_currency_with_cost
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_currency_with_price
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_number
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_number_with_cost
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_number_with_price
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_with_cost
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestIncompleteInputs::test_units_missing_with_price
 PASSED [ 86%]
beancount/parser/grammar_test.py::TestMisc::test_comment_in_postings PASSED [ 
87%]
beancount/parser/grammar_test.py::TestMisc::test_comment_in_postings_invalid 
PASSED [ 87%]
beancount/parser/grammar_test.py::TestDocument::test_document_links PASSED [ 
87%]
beancount/parser/grammar_test.py::TestDocument::test_document_no_tags_links 
PASSED [ 87%]
beancount/parser/grammar_test.py::TestDocument::test_document_tags PASSED [ 87%]
beancount/parser/grammar_test.py::TestMethodsSignature::test_signatures PASSED 
[ 87%]
beancount/parser/hashsrc_test.py::TestHashSource::test_check_parser_source_files
 PASSED [ 87%]
beancount/parser/hashsrc_test.py::TestHashSource::test_hash_parser_source_files 
PASSED [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_account_names_with_dash PASSED 
[ 87%]
beancount/parser/lexer_test.py::TestLexer::test_account_names_with_numbers 
PASSED [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_bad_date PASSED          [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_comma_currencies PASSED  [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_currency_dash PASSED     [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_currency_number PASSED   [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_date_followed_by_number PASSED 
[ 87%]
beancount/parser/lexer_test.py::TestLexer::test_invalid_directive PASSED [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_lex_indent PASSED        [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_lex_iter PASSED          [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_lex_unicode_account PASSED [ 
87%]
beancount/parser/lexer_test.py::TestLexer::test_no_final_newline PASSED  [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_null_true_false PASSED   [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_number_dots PASSED       [ 87%]
beancount/parser/lexer_test.py::TestLexer::test_number_no_integer PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexer::test_number_okay PASSED       [ 88%]
beancount/parser/lexer_test.py::TestLexer::test_number_space PASSED      [ 88%]
beancount/parser/lexer_test.py::TestLexer::test_popmeta PASSED           [ 88%]
beancount/parser/lexer_test.py::TestLexer::test_single_letter_account PASSED [ 
88%]
beancount/parser/lexer_test.py::TestLexer::test_string_escaped PASSED    [ 88%]
beancount/parser/lexer_test.py::TestLexer::test_string_newline PASSED    [ 88%]
beancount/parser/lexer_test.py::TestLexer::test_string_newline_long PASSED [ 
88%]
beancount/parser/lexer_test.py::TestLexer::test_string_newline_toolong PASSED [ 
88%]
beancount/parser/lexer_test.py::TestLexer::test_very_long_string PASSED  [ 88%]
beancount/parser/lexer_test.py::TestIgnoredLines::test_ignored__indented_comment
 PASSED [ 88%]
beancount/parser/lexer_test.py::TestIgnoredLines::test_ignored__long_comment 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestIgnoredLines::test_ignored__org_mode_drawer 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestIgnoredLines::test_ignored__org_mode_title 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestIgnoredLines::test_ignored__something_else 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestIgnoredLines::test_ignored__something_else_non_flag
 PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerErrors::test_lexer_exception_DATE 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerErrors::test_lexer_exception__recovery 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerErrors::test_lexer_exception_substring_with_quotes
 PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerErrors::test_lexer_invalid_token 
PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerUnicode::test_bytes_encoded_latin1_invalid
 PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerUnicode::test_bytes_encoded_utf16_invalid
 PASSED [ 88%]
beancount/parser/lexer_test.py::TestLexerUnicode::test_bytes_encoded_utf8 
PASSED [ 89%]
beancount/parser/lexer_test.py::TestLexerMisc::test_invalid_commas_in_fractional
 PASSED [ 89%]
beancount/parser/lexer_test.py::TestLexerMisc::test_invalid_commas_in_integral 
PASSED [ 89%]
beancount/parser/lexer_test.py::TestLexerMisc::test_valid_commas_in_number 
PASSED [ 89%]
beancount/parser/options_test.py::TestOptions::test_get_account_types PASSED [ 
89%]
beancount/parser/options_test.py::TestOptions::test_get_current_accounts PASSED 
[ 89%]
beancount/parser/options_test.py::TestOptions::test_get_previous_accounts 
PASSED [ 89%]
beancount/parser/options_test.py::TestOptions::test_list_options PASSED  [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__basic_fail
 PASSED [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__fail_invalid_order
 PASSED [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__fail_invalid_other
 PASSED [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__invalid_leaf
 PASSED [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__invalid_root
 PASSED [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__success
 PASSED [ 89%]
beancount/parser/options_test.py::TestAccountTypeOptions::test_custom_account_names__success_reset
 PASSED [ 89%]
beancount/parser/options_test.py::TestValidateOptions::test_validate__plugin_processing_mode__invalid
 PASSED [ 89%]
beancount/parser/parser_test.py::TestCompareTestFunctions::test_is_entry_incomplete
 PASSED [ 89%]
beancount/parser/parser_test.py::TestParserDoc::test_parse_doc__disabled PASSED 
[ 89%]
beancount/parser/parser_test.py::TestParserDoc::test_parse_doc__errors XFAIL [ 
89%]
beancount/parser/parser_test.py::TestParserDoc::test_parse_doc__noerrors XFAIL 
[ 89%]
beancount/parser/parser_test.py::TestParserInputs::test_parse_None PASSED [ 89%]
beancount/parser/parser_test.py::TestParserInputs::test_parse_file PASSED [ 89%]
beancount/parser/parser_test.py::TestParserInputs::test_parse_filename PASSED [ 
90%]
beancount/parser/parser_test.py::TestParserInputs::test_parse_stdin PASSED [ 
90%]
beancount/parser/parser_test.py::TestParserInputs::test_parse_string PASSED [ 
90%]
beancount/parser/parser_test.py::TestUnicodeErrors::test_bytes_encoded_incorrect
 PASSED [ 90%]
beancount/parser/parser_test.py::TestUnicodeErrors::test_bytes_encoded_utf8 
PASSED [ 90%]
beancount/parser/parser_test.py::TestTestUtils::test_parse_many PASSED   [ 90%]
beancount/parser/parser_test.py::TestTestUtils::test_parse_one PASSED    [ 90%]
beancount/parser/parser_test.py::TestReferenceCounting::test_parser_lex PASSED 
[ 90%]
beancount/parser/parser_test.py::TestReferenceCounting::test_parser_lex_filename
 PASSED [ 90%]
beancount/parser/parser_test.py::TestReferenceCounting::test_parser_lex_multi 
PASSED [ 90%]
beancount/parser/parser_test.py::TestReferenceCounting::test_parser_parse 
PASSED [ 90%]
beancount/parser/parser_test.py::TestLineno::test_lex PASSED             [ 90%]
beancount/parser/parser_test.py::TestLineno::test_lex_lineno PASSED      [ 90%]
beancount/parser/parser_test.py::TestLineno::test_parse PASSED           [ 90%]
beancount/parser/parser_test.py::TestLineno::test_parse_doc PASSED       [ 90%]
beancount/parser/parser_test.py::TestLineno::test_parse_lineno PASSED    [ 90%]
beancount/parser/parser_test.py::TestLineno::test_parse_string PASSED    [ 90%]
beancount/parser/parser_test.py::TestLineno::test_parse_string_lineno PASSED [ 
90%]
beancount/parser/printer_test.py::TestPrinter::test_format_and_print_error 
PASSED [ 90%]
beancount/parser/printer_test.py::TestPrinter::test_methods_coverage PASSED [ 
90%]
beancount/parser/printer_test.py::TestPrinter::test_render_source PASSED [ 90%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Balance PASSED  [ 90%]
beancount/parser/printer_test.py::TestEntryPrinter::test_BalanceTolerance 
PASSED [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Close PASSED    [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Document PASSED [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Event PASSED    [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Note PASSED     [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Open PASSED     [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Pad PASSED      [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Price PASSED    [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Query PASSED    [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_Transaction PASSED [ 
91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_metadata PASSED [ 91%]
beancount/parser/printer_test.py::TestEntryPrinter::test_write_source PASSED [ 
91%]
beancount/parser/printer_test.py::TestPrinterSpacing::test_interline_spacing 
PASSED [ 91%]
beancount/parser/printer_test.py::TestDisplayContext::test_precision PASSED [ 
91%]
beancount/parser/printer_test.py::TestPrinterAlignment::test_align PASSED [ 91%]
beancount/parser/printer_test.py::TestPrinterAlignment::test_align_min_width_account
 PASSED [ 91%]
beancount/parser/printer_test.py::TestPrinterAlignment::test_align_position_strings
 PASSED [ 91%]
beancount/parser/printer_test.py::TestPrinterAlignment::test_align_with_weight 
PASSED [ 91%]
beancount/parser/printer_test.py::TestPrinterMisc::test_metadata PASSED  [ 91%]
beancount/parser/printer_test.py::TestPrinterMisc::test_no_valid_account PASSED 
[ 91%]
beancount/parser/printer_test.py::TestPrinterMisc::test_render_meta_with_None 
PASSED [ 91%]
beancount/parser/printer_test.py::TestPrinterMisc::test_render_missing PASSED [ 
91%]
beancount/parser/printer_test.py::TestPrinterMisc::test_very_small_number 
PASSED [ 92%]
beancount/parser/printer_test.py::TestPrinterMisc::test_zero_cost PASSED [ 92%]
beancount/parser/version_test.py::TestVersion::test_compute_version_string 
PASSED [ 92%]
beancount/parser/version_test.py::TestVersion::test_version_exists PASSED [ 92%]
beancount/plugins/auto_accounts_test.py::TestAutoInsertOpen::test_auto_open 
PASSED [ 92%]
beancount/plugins/auto_test.py::TestAuto::test_plugins_auto PASSED       [ 92%]
beancount/plugins/check_average_cost_test.py::TestMatchAverageCost::test_match_average_cost
 PASSED [ 92%]
beancount/plugins/check_closing_test.py::TestCheckClosing::test_check_closing 
PASSED [ 92%]
beancount/plugins/check_commodity_test.py::TestCheckCommodity::test_check_commodity_ignore
 PASSED [ 92%]
beancount/plugins/check_commodity_test.py::TestCheckCommodity::test_check_commodity_okay
 PASSED [ 92%]
beancount/plugins/check_commodity_test.py::TestCheckCommodity::test_check_commodity_transaction
 PASSED [ 92%]
beancount/plugins/check_commodity_test.py::TestCheckCommodity::test_check_commodity_used_in_balance_only
 PASSED [ 92%]
beancount/plugins/check_commodity_test.py::TestCheckCommodity::test_get_commodity_map_ex
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__absence
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__declared_currencies
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__error
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__not_balance_sheet
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__same_day
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__seen_currencies
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__skip_preexisting
 PASSED [ 92%]
beancount/plugins/check_drained_test.py::TestCheckCloseEmpty::test_check_drained__with_cost_basis
 PASSED [ 92%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_auto_accounts_parent_close
 PASSED [ 92%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_basic PASSED   [ 93%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_close_unopened_parent 
PASSED [ 93%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_empty_entries PASSED 
[ 93%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_leave_others_untouched
 PASSED [ 93%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_match PASSED   [ 93%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_override PASSED [ 93%]
beancount/plugins/close_tree_test.py::TestCloseTree::test_override_complex 
PASSED [ 93%]
beancount/plugins/coherent_cost_test.py::TestValidateUnusedAccounts::test_validate_unused_accounts
 PASSED [ 93%]
beancount/plugins/commodity_attr_test.py::TestCommodityAttr::test_commodity_attr
 PASSED [ 93%]
beancount/plugins/commodity_attr_test.py::TestCommodityAttr::test_commodity_attr_existence_only
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_currency_conversion
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_custom_base_account
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_residual_not_conversion
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_selection
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_two_groups_already_balanced
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_with_costs_and_price
 PASSED [ 93%]
beancount/plugins/currency_accounts_test.py::TestCurrencyTradingAccounts::test_with_costs_ignored
 PASSED [ 93%]
beancount/plugins/implicit_prices_test.py::TestImplicitPrices::test_add_implicit_prices__all_cases
 PASSED [ 93%]
beancount/plugins/implicit_prices_test.py::TestImplicitPrices::test_add_implicit_prices__duplicates_on_different_transactions
 PASSED [ 93%]
beancount/plugins/implicit_prices_test.py::TestImplicitPrices::test_add_implicit_prices__duplicates_on_same_transaction
 PASSED [ 93%]
beancount/plugins/implicit_prices_test.py::TestImplicitPrices::test_add_implicit_prices__duplicates_overloaded
 PASSED [ 93%]
beancount/plugins/implicit_prices_test.py::TestImplicitPrices::test_add_implicit_prices__other_account
 PASSED [ 93%]
beancount/plugins/leafonly_test.py::TestLeafOnly::test_leaf_only1 PASSED [ 94%]
beancount/plugins/leafonly_test.py::TestLeafOnly::test_leaf_only2 PASSED [ 94%]
beancount/plugins/leafonly_test.py::TestLeafOnly::test_leaf_only3 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__balance
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__close
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__document
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__event
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__note
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__open
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__pad
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__price
 PASSED [ 94%]
beancount/plugins/noduplicates_test.py::TestValidateDuplicates::test_validate_no_duplicates__transaction
 PASSED [ 94%]
beancount/plugins/nounused_test.py::TestValidateUnusedAccounts::test_validate_unused_accounts
 PASSED [ 94%]
beancount/plugins/onecommodity_test.py::TestOneCommodity::test_one_commodity_balance
 PASSED [ 94%]
beancount/plugins/onecommodity_test.py::TestOneCommodity::test_one_commodity_regexp_config
 PASSED [ 94%]
beancount/plugins/onecommodity_test.py::TestOneCommodity::test_one_commodity_skip_declared
 PASSED [ 94%]
beancount/plugins/onecommodity_test.py::TestOneCommodity::test_one_commodity_skip_metadata
 PASSED [ 94%]
beancount/plugins/onecommodity_test.py::TestOneCommodity::test_one_commodity_transaction
 PASSED [ 94%]
beancount/plugins/pedantic_test.py::TestPedantic::test_plugins_pedantic PASSED 
[ 94%]
beancount/plugins/sellgains_test.py::TestSellGains::test_sellgains_fail_balance 
PASSED [ 94%]
beancount/plugins/sellgains_test.py::TestSellGains::test_sellgains_fail_imbalance
 PASSED [ 94%]
beancount/plugins/sellgains_test.py::TestSellGains::test_sellgains_other_currency
 PASSED [ 94%]
beancount/plugins/sellgains_test.py::TestSellGains::test_sellgains_success 
PASSED [ 95%]
beancount/plugins/sellgains_test.py::TestSellGains::test_sellgains_zero_price 
PASSED [ 95%]
beancount/plugins/unique_prices_test.py::TestValidateAmbiguousPrices::test_validate_unique_prices__different
 PASSED [ 95%]
beancount/plugins/unique_prices_test.py::TestValidateAmbiguousPrices::test_validate_unique_prices__from_costs
 PASSED [ 95%]
beancount/plugins/unique_prices_test.py::TestValidateAmbiguousPrices::test_validate_unique_prices__same
 PASSED [ 95%]
beancount/scripts/check_examples_test.py::TestCheckExamples::test_example_files 
PASSED [ 95%]
beancount/scripts/check_test.py::TestScriptCheck::test_auto_plugins PASSED [ 
95%]
beancount/scripts/check_test.py::TestScriptCheck::test_fail FAILED       [ 95%]
beancount/scripts/check_test.py::TestScriptCheck::test_success PASSED    [ 95%]
beancount/scripts/deps_test.py::TestCheckDeps::test_check_dependencies PASSED [ 
95%]
beancount/scripts/directories_test.py::TestScriptCheckDirectories::test_validation
 PASSED [ 95%]
beancount/scripts/directories_test.py::TestScriptCheckDirectories::test_validation_no_parent
 PASSED [ 95%]
beancount/scripts/doctor_test.py::TestScriptDoctor::test_dump_lexer PASSED [ 
95%]
beancount/scripts/doctor_test.py::TestScriptDoctor::test_dump_lexer_empty 
PASSED [ 95%]
beancount/scripts/doctor_test.py::TestScriptDoctor::test_dump_roundtrip PASSED 
[ 95%]
beancount/scripts/doctor_test.py::TestScriptDoctor::test_list_options PASSED [ 
95%]
beancount/scripts/doctor_test.py::TestScriptCheckDirectories::test_invocation 
PASSED [ 95%]
beancount/scripts/doctor_test.py::TestScriptCheckDirectories::test_validation 
PASSED [ 95%]
beancount/scripts/doctor_test.py::TestScriptCheckDirectories::test_validation_no_parent
 PASSED [ 95%]
beancount/scripts/doctor_test.py::TestScriptMissingOpen::test_missing_open 
PASSED [ 95%]
beancount/scripts/doctor_test.py::TestScriptDisplayContext::test_display_context
 PASSED [ 95%]
beancount/scripts/doctor_test.py::TestContext::test_context PASSED       [ 95%]
beancount/scripts/doctor_test.py::TestContext::test_context_multiple_files 
PASSED [ 96%]
beancount/scripts/doctor_test.py::TestLinked::test_linked_explicit_link PASSED 
[ 96%]
beancount/scripts/doctor_test.py::TestLinked::test_linked_lineno_only PASSED [ 
96%]
beancount/scripts/doctor_test.py::TestLinked::test_linked_multiple_files PASSED 
[ 96%]
beancount/scripts/doctor_test.py::TestRegion::test_region PASSED         [ 96%]
beancount/scripts/example_test.py::TestScriptExample::test_generate PASSED [ 
96%]
beancount/scripts/example_test.py::TestScriptExample::test_generate_with_date 
PASSED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_align_posting_starts 
PASSED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_arithmetic_expressions 
SKIPPED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_commas PASSED   [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_currency_issue146 
PASSED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_fixed_column PASSED [ 
96%]
beancount/scripts/format_test.py::TestScriptFormat::test_fixed_width PASSED [ 
96%]
beancount/scripts/format_test.py::TestScriptFormat::test_metadata_issue400 
PASSED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_open_only_issue80 
PASSED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_parenthesized_binary_expressions
 PASSED [ 96%]
beancount/scripts/format_test.py::TestScriptFormat::test_success PASSED  [ 96%]
beancount/tools/treeify_test.py::TestTreeify::test_consecutive PASSED    [ 96%]
beancount/tools/treeify_test.py::TestTreeify::test_empty_string PASSED   [ 96%]
beancount/tools/treeify_test.py::TestTreeify::test_filenames PASSED      [ 96%]
beancount/tools/treeify_test.py::TestTreeify::test_filenames_tree PASSED [ 96%]
beancount/tools/treeify_test.py::TestTreeify::test_flush_left PASSED     [ 96%]
beancount/tools/treeify_test.py::TestTreeify::test_flush_right PASSED    [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_no_columns PASSED     [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_noise_after PASSED    [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_noise_before PASSED   [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_noise_middle_between_nodes 
PASSED [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_noise_middle_parent_child 
PASSED [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_noise_middle_same_node 
PASSED [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_overlapping_column PASSED [ 
97%]
beancount/tools/treeify_test.py::TestTreeify::test_parents PASSED        [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_simple PASSED         [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_two_columns PASSED    [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_unsorted PASSED       [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_whitespace PASSED     [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_width_narrower PASSED [ 97%]
beancount/tools/treeify_test.py::TestTreeify::test_width_wider PASSED    [ 97%]
beancount/utils/bisect_key_test.py::TestBisectWithKey::test_bisect_left_with_key
 PASSED [ 97%]
beancount/utils/bisect_key_test.py::TestBisectWithKey::test_bisect_repeats 
PASSED [ 97%]
beancount/utils/defdict_test.py::TestImmutableDictWithDefault::test_dict_with_default
 PASSED [ 97%]
beancount/utils/defdict_test.py::TestImmutableDictWithDefault::test_pickle_defdict
 PASSED [ 97%]
beancount/utils/encryption_test.py::TestEncryptedFiles::test_read_encrypted_file
 PASSED [ 97%]
beancount/utils/encryption_test.py::TestEncryptedFilesCheck::test_is_encrypted_file
 PASSED [ 97%]
beancount/utils/encryption_test.py::TestLoadIncludesEncrypted::test_include_encrypted
 PASSED [ 97%]
beancount/utils/file_utils_test.py::TestFileUtilsFind::test_find_files PASSED [ 
98%]
beancount/utils/file_utils_test.py::TestMiscFileUtils::test_guess_file_format 
PASSED [ 98%]
beancount/utils/file_utils_test.py::TestMiscFileUtils::test_path_greedy_split 
PASSED [ 98%]
beancount/utils/import_utils_test.py::TestImportSymbol::test_import_symbol 
PASSED [ 98%]
beancount/utils/invariants_test.py::TestInvariants::test_invariants_on_dummy 
PASSED [ 98%]
beancount/utils/memo_test.py::TestMemoization::test_memoization_expired PASSED 
[ 98%]
beancount/utils/memo_test.py::TestMemoization::test_memoization_success PASSED 
[ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_escape_string PASSED [ 
98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_filter_type PASSED [ 
98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_get_screen_height 
PASSED [ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_get_screen_width PASSED 
[ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_groupby PASSED   [ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_is_sorted PASSED [ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_log_time PASSED  [ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_no_curses PASSED [ 98%]
beancount/utils/misc_utils_test.py::TestMiscUtils::test_skipiter PASSED  [ 98%]
beancount/utils/misc_utils_test.py::TestUniquify::test_sorted_uniquify_first 
PASSED [ 98%]
beancount/utils/misc_utils_test.py::TestUniquify::test_sorted_uniquify_last 
PASSED [ 98%]
beancount/utils/misc_utils_test.py::TestUniquify::test_uniquify_first PASSED [ 
98%]
beancount/utils/misc_utils_test.py::TestUniquify::test_uniquify_last PASSED [ 
98%]
beancount/utils/misc_utils_test.py::TestLineFileProxy::test_line_file_proxy 
PASSED [ 98%]
beancount/utils/pager_test.py::TestPager::test_pager_nothreshold PASSED  [ 98%]
beancount/utils/pager_test.py::TestPager::test_pager_threshold_above PASSED [ 
99%]
beancount/utils/pager_test.py::TestPager::test_pager_threshold_below PASSED [ 
99%]
beancount/utils/table_test.py::TestTable::test_attribute_to_title PASSED [ 99%]
beancount/utils/table_test.py::TestTable::test_compute_table_widths PASSED [ 
99%]
beancount/utils/table_test.py::TestTable::test_create_table PASSED       [ 99%]
beancount/utils/table_test.py::TestTable::test_create_table_with_index PASSED [ 
99%]
beancount/utils/table_test.py::TestTable::test_generate_table PASSED     [ 99%]
beancount/utils/table_test.py::TestTable::test_table_to_csv PASSED       [ 99%]
beancount/utils/table_test.py::TestTable::test_table_to_html PASSED      [ 99%]
beancount/utils/table_test.py::TestTable::test_table_to_text PASSED      [ 99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_capture PASSED   [ 99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_create_temporary_files 
PASSED [ 99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_docfile PASSED   [ 99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_docfile_extra PASSED [ 
99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_environ_contextmanager 
PASSED [ 99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_search_words PASSED [ 
99%]
beancount/utils/test_utils_test.py::TestTestUtils::test_tempdir PASSED   [ 99%]
beancount/utils/test_utils_test.py::TestTestCase::test_assertLines PASSED [ 99%]
beancount/utils/test_utils_test.py::TestTestCase::test_assertOutput PASSED [ 
99%]
beancount/utils/test_utils_test.py::TestSkipIfRaises::test_contextmanager 
PASSED [ 99%]
beancount/utils/test_utils_test.py::TestSkipIfRaises::test_decorator PASSED [ 
99%]
beancount/utils/test_utils_test.py::TestSkipIfRaises::test_decorator_many 
PASSED [100%]

=================================== FAILURES ===================================
__________________________ TestScriptCheck.test_fail ___________________________

self = <beancount.beancount.scripts.check_test.TestScriptCheck 
testMethod=test_fail>
filename = '/tmp/beancount-test-tmpdir.s1mquhbs/-temp_file-.beancount'

    @test_utils.docfile
    def test_fail(self, filename):
        """
        2013-01-01 open Expenses:Restaurant
        2013-01-01 open Assets:Cash
    
        2014-03-02 * "Something"
          Expenses:Restaurant   50.02 USD
          Assets:Cash
    
        2014-03-07 balance Assets:Cash  100 USD
        """
        # We should use mix_stderr=False and we check for the error
        # message on result.stderr, but it does not work. See
        # https://github.com/pallets/click/issues/1761
        runner = click.testing.CliRunner()
        result = runner.invoke(check.main, [filename])
        self.assertEqual(result.exit_code, 1)
>       self.assertRegex(result.output, "Balance failed")
E       AssertionError: Regex didn't match: 'Balance failed' not found in ''

beancount/beancount/scripts/check_test.py:44: AssertionError
__________________________ TestScriptCheck.test_fail ___________________________

self = <beancount.scripts.check_test.TestScriptCheck testMethod=test_fail>
filename = '/tmp/beancount-test-tmpdir.fct16ri0/-temp_file-.beancount'

    @test_utils.docfile
    def test_fail(self, filename):
        """
        2013-01-01 open Expenses:Restaurant
        2013-01-01 open Assets:Cash
    
        2014-03-02 * "Something"
          Expenses:Restaurant   50.02 USD
          Assets:Cash
    
        2014-03-07 balance Assets:Cash  100 USD
        """
        # We should use mix_stderr=False and we check for the error
        # message on result.stderr, but it does not work. See
        # https://github.com/pallets/click/issues/1761
        runner = click.testing.CliRunner()
        result = runner.invoke(check.main, [filename])
        self.assertEqual(result.exit_code, 1)
>       self.assertRegex(result.output, "Balance failed")
E       AssertionError: Regex didn't match: 'Balance failed' not found in ''

beancount/scripts/check_test.py:44: AssertionError
=========================== short test summary info ============================
FAILED beancount/beancount/scripts/check_test.py::TestScriptCheck::test_fail
FAILED beancount/scripts/check_test.py::TestScriptCheck::test_fail - Assertio...
===== 2 failed, 2148 passed, 42 skipped, 2 deselected, 4 xfailed in 5.40s ======
E: pybuild pybuild:389: test: plugin pyproject failed with: exit code=1: cd 
/<<PKGBUILDDIR>>/.pybuild/cpython3_3.13/build; python3.13 -m pytest -v -k "not 
test_export_basic"
dh_auto_test: error: pybuild --test --test-pytest -i python{version} -p "3.12 
3.13" returned exit code 13
make: *** [debian/rules:15: binary] Error 25
dpkg-buildpackage: error: debian/rules binary subprocess returned exit status 2
--------------------------------------------------------------------------------

The above is just how the build ends and not necessarily the most relevant part.
If required, the full build log is available here:

https://people.debian.org/~sanvila/build-logs/202502/

About the archive rebuild: The build was made on virtual machines from AWS,
using sbuild and a reduced chroot with only build-essential packages.

If you could not reproduce the bug please contact me privately, as I
am willing to provide ssh access to a virtual machine where the bug is
fully reproducible.

If this is really a bug in one of the build-depends, please use
reassign and add an affects on src:beancount, so that this is still
visible in the BTS web page for this package.

Thanks.

--- End Message ---
--- Begin Message ---
Source: beancount
Source-Version: 3.1.0-3
Done: Boyuan Yang <by...@debian.org>

We believe that the bug you reported is fixed in the latest version of
beancount, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1098...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Boyuan Yang <by...@debian.org> (supplier of updated beancount package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Sat, 01 Mar 2025 19:42:32 -0500
Source: beancount
Architecture: source
Version: 3.1.0-3
Distribution: unstable
Urgency: medium
Maintainer: Debian Python Team <team+pyt...@tracker.debian.org>
Changed-By: Boyuan Yang <by...@debian.org>
Closes: 1098533
Changes:
 beancount (3.1.0-3) unstable; urgency=medium
 .
   * Team upload.
   * Rebuild the package with python3.13 only. (Closes: #1098533)
Checksums-Sha1:
 d40b361e690741ef0a4312a3afeaaaabb3b9b2a1 3004 beancount_3.1.0-3.dsc
 ae2e0700102851d2c48e58ea199b6cb93036fa69 548025 beancount_3.1.0.orig.tar.gz
 5a5dcf77a5f41f9ecb59afe73e9f202699e1fc6b 9940 beancount_3.1.0-3.debian.tar.xz
 d49cbf1a725dc46f649e37b27c1179cdbfe72607 10952 
beancount_3.1.0-3_amd64.buildinfo
Checksums-Sha256:
 c7171408051ae247d0f53a8f418061b2e94af065725f4c417ae9f19db39e2df7 3004 
beancount_3.1.0-3.dsc
 50ec6842de7a77928f94028b04f19b41685f0afab806dba98da7380023ebcaf3 548025 
beancount_3.1.0.orig.tar.gz
 26f89847d762d1e4ecdf95081e0cfa5a3e966ee632b9ed21273a20c14f6d4d59 9940 
beancount_3.1.0-3.debian.tar.xz
 7d00f688ce40fb188d4b7c77084b5df0b81941a3f75452bcc09893bf9bcc731b 10952 
beancount_3.1.0-3_amd64.buildinfo
Files:
 4a09897a346bbad2412ac225fcf20c94 3004 utils optional beancount_3.1.0-3.dsc
 e4b1fc738be166a908ebfaa12774e49c 548025 utils optional 
beancount_3.1.0.orig.tar.gz
 500f334510ad10cd2c9176b02a9122c0 9940 utils optional 
beancount_3.1.0-3.debian.tar.xz
 87ebd15c7970079a20962f1976664ae9 10952 utils optional 
beancount_3.1.0-3_amd64.buildinfo


-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEfncpR22H1vEdkazLwpPntGGCWs4FAmfDqf8ACgkQwpPntGGC
Ws6BHxAAtZS6bt5McAhk/Nv6F4OrY7Lb4EnvpM8trfdWP9r9+Kwuh3q9YGjk2fj3
7ZL647xGWCa1VWuJ/V+i6pgX6rwPIApo3Z3OGT4Pp1tWCUd6UalgO8fN25+BNz7d
hl9/52wCnvRmGJxbZahokcQgUVU3EIsVaxqE+xrN5K/9IBq96Tf48oKMKn/FgktZ
t573S1J+lr8uVjpcvRCZ8MPNuoRfOeOxsxaj411TqN0F4Yvbjy1qapO/zVGw5PiA
OVQvS8HNTejGPA0Fx5eepMQ3JZvh3yGMUe8M3oA+m7aq1pBFHSsVkV6vlW0XwR/T
g7TV/cBca/yAHG3lx6QZ9sTPk6JdIwimR4pDVvbxHDjA5es/k0JHdU1M4hYC+Lkf
xMBUnuNUMaZ2zfVMkuYopKy+7UdQdtrwtSKOTp2k3UhrSyNB3de215vkxq2ZT2AX
FoGjjmk4UDz6qjwd58MmpvW8rnnLDtF1EQyVbSVtk+wHEMPfVSsnePvvCgmrv5yw
6/zUFiiwdBa4pAc4mmYM77W9HTJwTtM/ne7H46bfa+pY+CT8sENZuVTuNXbTIjlZ
+Rf/5VbnSbg5vDVVsLvS60tVwIu4chL7EJbhQI6NQBdxuCHa6L87sHESDkvY+UBw
9Og/Iy4VRyob5539cBku5Uy8dVtMIiCxrlzvvhzEd8P7mG0M7N8=
=QdGK
-----END PGP SIGNATURE-----

Attachment: pgp01QZCq4kuV.pgp
Description: PGP signature


--- End Message ---

Reply via email to