Skip to content

Commit 1345c76

Browse files
Windows tests only run if the linux tests pass
1 parent c8fd9f0 commit 1345c76

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

tests/test_modutils.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
import astroid
2222
from astroid import modutils
23-
from astroid.const import PY310_PLUS
23+
from astroid.const import PY310_PLUS, WIN32
2424
from astroid.interpreter._import import spec
2525

2626
from . import resources
@@ -275,8 +275,7 @@ def test_std_lib_found_before_same_named_package_on_path(self) -> None:
275275
sys_path = str(sys.path)
276276

277277
file = modutils.file_from_modpath(["copy"])
278-
279-
assert False, str(
278+
assert not WIN32, str(
280279
resource,
281280
sys_path,
282281
file

0 commit comments

Comments
 (0)