diff --git a/erpnext/stock/doctype/batch/test_batch.py b/erpnext/stock/doctype/batch/test_batch.py index b0d30a765da..81c443579c6 100644 --- a/erpnext/stock/doctype/batch/test_batch.py +++ b/erpnext/stock/doctype/batch/test_batch.py @@ -261,7 +261,7 @@ class TestBatch(unittest.TestCase): def test_batch_wise_item_price(self): if not frappe.db.get_value('Item', '_Test Batch Price Item'): - doc = frappe.get_doc({ + frappe.get_doc({ 'doctype': 'Item', 'is_stock_item': 1, 'item_code': '_Test Batch Price Item',