def test_partial_update_should_reject_new_lexical_field(self):
        """Test that partial updates to new lexical fields are rejected.
        
        This test verifies that partial updates to new lexical fields are rejected.
        """
        test_docs = [self.doc, self.doc2, self.doc3]

        for doc in test_docs:
            with self.subTest(f"Attempting to update new lexical field for document with ID {doc['_id']}"):
                id = doc['_id']
                res = self.config.document.partial_update_documents(
                    [{'_id': id, 'new_lexical_field': 'some string that signifies new lexical field'}], self.index)
                self.assertTrue(res.errors)
                self.assertIn(
                    "new_lexical_field of type str does not exist in the original document. Marqo does not support adding new lexical fields in partial updates",
                    res.items[0].error)
                self.assertEqual(400, res.items[0].status)
Test that partial updates to new lexical fields are rejected.
        
        This test verifies that partial updates to new lexical fields are rejected.
        
tests/integ_tests/core/document/test_partial_update_semi_structured.py