diff --git a/tests/test_reports_fund.py b/tests/test_reports_fund.py index 569129bca31638fd36de1f4d98637ac9ef548d88..446601503d6c046f3d267c65d455f08a1acca43a 100644 --- a/tests/test_reports_fund.py +++ b/tests/test_reports_fund.py @@ -193,7 +193,9 @@ def check_ods_sheet(sheet, account_balances, *, full): cells = iter(testutil.ODSCell.from_row(row)) try: fund = next(cells).firstChild.text - except (AttributeError, StopIteration): + except AttributeError: + fund = '' + except StopIteration: continue try: balances = account_bals.pop(fund)