The code added introduces two new branches:
* if the exception itself is a `SyntaxError`
* if the `original_exception` is a `SyntaxError`

The test case does only verify one branch. Can you expand it to check the other one as well. Please make sure to adjust the test names accordingly.