From fbbf29e829f264adae07ffe45c2db99d121a224d Mon Sep 17 00:00:00 2001 From: Rohit Waghchaure Date: Wed, 29 Dec 2021 00:21:00 +0530 Subject: [PATCH] fix: travis failing --- erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py b/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py index 1f38172ea8f..1dc4a9e4b98 100644 --- a/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py +++ b/erpnext/accounts/doctype/fiscal_year/test_fiscal_year.py @@ -43,9 +43,9 @@ def test_record_generator(): for year in range(start, end): test_records.append({ "doctype": "Fiscal Year", - "year": f"_Test Fiscal Year {year}", - "year_start_date": f"{year}-01-01", - "year_end_date": f"{year}-12-31" + "year": "_Test Fiscal Year {}".format(year), + "year_start_date": "{}-01-01".format(year), + "year_end_date": "{}-12-31".format(year) }) return test_records