We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cf5f1dc commit 8923236Copy full SHA for 8923236
test/test_submodule.py
@@ -7,7 +7,7 @@
7
import tempfile
8
from pathlib import Path
9
import sys
10
-from unittest import mock, skipIf
+from unittest import mock, skipIf, skipUnless
11
12
import pytest
13
@@ -1039,7 +1039,7 @@ def test_branch_renames(self, rw_dir):
1039
assert sm_mod.commit() == sm_pfb.commit, "Now head should have been reset"
1040
assert sm_mod.head.ref.name == sm_pfb.name
1041
1042
- @skipIf(not is_win, "Specifically for Windows.")
+ @skipUnless(is_win, "Specifically for Windows.")
1043
def test_to_relative_path_with_super_at_root_drive(self):
1044
class Repo(object):
1045
working_tree_dir = "D:\\"
0 commit comments