def METHOD_NAME(self):
    section = section_4_sample()
    section['spatialProcessing'] = 999
    msg = r'unsupported spatial processing type \[999\]'
    with self.assertRaisesRegex(TranslationError, msg):
        self._translate(section)