Unverified Commit bd0ab3cb authored by Zsolt Dollenstein's avatar Zsolt Dollenstein Committed by GitHub
Browse files

Reraise exception in `skip_if_exception` decorator

parent 154b9857
Loading
Loading
Loading
Loading
+1 −1
Changes for tests/test_black.py: 1 added line, 1 removed line.
Original line number Diff line number Diff line
@@ -99,7 +99,7 @@ def skip_if_exception(e: str) -> Iterator[None]:
        if exc.__class__.__name__ == e:
            unittest.skip(f"Encountered expected exception {exc}, skipping")
        else:
            raise exc
            raise


class BlackRunner(CliRunner):