Prior to the closing, the seller is still the owner of the property; the buyer only becomes the owner after the closing. Since the seller is still the owner  between the signing of the contract and the closing, the seller would be responsible for the assessment.