From 40466be9ef6ec159385aa1d867af3ddbdd25b45a Mon Sep 17 00:00:00 2001 From: Smit Vora Date: Tue, 21 Apr 2026 19:33:29 +0530 Subject: [PATCH] test: None is better than zero, as no values exist (cherry picked from commit b5550f747ed84f19d6ade02e28979dc480cc4696) --- .../tax_withholding_details/test_tax_withholding_details.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/erpnext/accounts/report/tax_withholding_details/test_tax_withholding_details.py b/erpnext/accounts/report/tax_withholding_details/test_tax_withholding_details.py index fe33a83b39e..de03aaef77e 100644 --- a/erpnext/accounts/report/tax_withholding_details/test_tax_withholding_details.py +++ b/erpnext/accounts/report/tax_withholding_details/test_tax_withholding_details.py @@ -40,7 +40,7 @@ class TestTaxWithholdingDetails(ERPNextTestSuite, AccountsTestMixin): expected_values = [ [jv.name, "TCS", 0.075, 1000.75, 0.75, 1000.75], - ["", "TCS", 0.075, 0, 0.75, 0], + ["", "TCS", 0.075, None, 0.75, None], [si.name, "TCS", 0.075, 1000.0, 0.75, 1000.75], ] self.check_expected_values(result, expected_values)