21
21
IS_PYPY ,
22
22
IS_TRAVIS ,
23
23
IS_UNIX ,
24
+ IS_WINDOWS ,
24
25
TEST_CAN_FD ,
25
26
TEST_INTERFACE_SOCKETCAN ,
26
27
)
@@ -303,8 +304,8 @@ class BasicTestSocketCan(Back2BackTestCase):
303
304
# this doesn't even work on Travis CI for macOS; for example, see
304
305
# https://travis-ci.org/github/hardbyte/python-can/jobs/745389871
305
306
@unittest .skipUnless (
306
- IS_UNIX and not (IS_CI and IS_OSX ),
307
- "only supported on Unix systems (but not on macOS at Travis CI and GitHub Actions)" ,
307
+ ( IS_UNIX and not (IS_CI and IS_OSX )) or IS_WINDOWS ,
308
+ "only supported on Unix and Windows systems (but not on macOS at Travis CI and GitHub Actions)" ,
308
309
)
309
310
class BasicTestUdpMulticastBusIPv4 (Back2BackTestCase ):
310
311
INTERFACE_1 = "udp_multicast"
@@ -320,8 +321,8 @@ def test_unique_message_instances(self):
320
321
# this doesn't even work for loopback multicast addresses on Travis CI; for example, see
321
322
# https://travis-ci.org/github/hardbyte/python-can/builds/745065503
322
323
@unittest .skipUnless (
323
- IS_UNIX and not (IS_TRAVIS or (IS_CI and IS_OSX )),
324
- "only supported on Unix systems (but not on Travis CI; and not on macOS at GitHub Actions)" ,
324
+ ( IS_UNIX and not (IS_TRAVIS or (IS_CI and IS_OSX ))) or IS_WINDOWS ,
325
+ "only supported on Unix and Windows systems (but not on Travis CI; and not on macOS at GitHub Actions)" ,
325
326
)
326
327
class BasicTestUdpMulticastBusIPv6 (Back2BackTestCase ):
327
328
HOST_LOCAL_MCAST_GROUP_IPv6 = "ff11:7079:7468:6f6e:6465:6d6f:6d63:6173"
0 commit comments