1 file changed
@@ -7,7 +7,7 @@ | |||
| 7 | 7 | import os | |
| 8 | 8 | import sys | |
| 9 | 9 | import tempfile | |
| 10 | - from unittest import SkipTest, skipIf | ||
| 10 | + from unittest import skipIf | ||
| 11 | 11 | ||
| 12 | 12 | from git import Repo | |
| 13 | 13 | from git.objects import Blob, Tree, Commit, TagObject | |
@@ -126,7 +126,7 @@ def test_add_unicode(self, rw_repo): | |||
| 126 | 126 | try: | |
| 127 | 127 | file_path.encode(sys.getfilesystemencoding()) | |
| 128 | 128 | except UnicodeEncodeError as e: | |
| 129 | - raise SkipTest("Environment doesn't support unicode filenames") from e | ||
| 129 | + raise RuntimeError("Environment doesn't support unicode filenames") from e | ||
| 130 | 130 | ||
| 131 | 131 | with open(file_path, "wb") as fp: | |
| 132 | 132 | fp.write(b"something") | |
0 commit comments