diff --git a/erpnext/stock/report/item_prices/test_item_prices.py b/erpnext/stock/report/item_prices/test_item_prices.py index 147a3d4bc34..49e36c0429a 100644 --- a/erpnext/stock/report/item_prices/test_item_prices.py +++ b/erpnext/stock/report/item_prices/test_item_prices.py @@ -29,6 +29,7 @@ class TestItemPrices(ERPNextTestSuite): if row[item_idx] == item_code: return row self.fail(f"No report row found for item {item_code}") + return None def cell(self, columns, row, label): return row[self.labels(columns).index(label)]