]> git.madduck.net Git - etc/vim.git/commitdiff

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Reraise exception in `skip_if_exception` decorator
authorZsolt Dollenstein <zsol.zsol@gmail.com>
Mon, 5 Aug 2019 09:07:43 +0000 (10:07 +0100)
committerGitHub <noreply@github.com>
Mon, 5 Aug 2019 09:07:43 +0000 (10:07 +0100)
tests/test_black.py

index a465d5456863ea0baf4bc391df82ac448880c869..ce8403757f1d699b890dd3c65759fc5b833223ba 100644 (file)
@@ -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):