From b5aa7e923f7d703c822f9e67226aea92707441fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E4=BE=9D=E7=91=AA=E8=B2=93?= Date: Wed, 26 Apr 2023 13:22:46 +0800 Subject: [PATCH] Renamed the "j_date" variable to "date" in the "_init_data" method of the ReportTestData class in test_report.py. --- tests/test_report.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/test_report.py b/tests/test_report.py index 33bc528..e391e56 100644 --- a/tests/test_report.py +++ b/tests/test_report.py @@ -450,11 +450,11 @@ class ReportTestData(BaseTestData): year: int = today.year - 5 month: int = today.month while True: - j_date: dt.date = dt.date(year, month, 5) - if j_date > today: + date: dt.date = dt.date(year, month, 5) + if date > today: break self._add_simple_journal_entry( - (j_date - today).days, "USD", + (date - today).days, "USD", "Salary薪水", "1200", Accounts.BANK, Accounts.SERVICE) month = month + 1 if month > 12: