diff --git a/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py b/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py index 75d43088b52d..bd2fee3b0ad9 100644 --- a/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py +++ b/erpnext/accounts/doctype/pos_invoice/test_pos_invoice.py @@ -495,7 +495,6 @@ def test_pos_invoice_with_duplicate_serial_no(self): pos.get("items")[0].serial_no = serial_nos[0] + "\n" + serial_nos[0] self.assertRaises(frappe.ValidationError, pos.submit) - def test_invalid_serial_no_validation(self): from erpnext.stock.doctype.stock_entry.test_stock_entry import make_serialized_item