◐ Shell
clean mode source ↗

gh-119461: Skip ThreadedVSOCKSocketStreamTest if cid is VMADDR_CID_ANY by vstinner · Pull Request #119463 · python/cpython

Expand Up @@ -520,7 +520,7 @@ def clientTearDown(self): @unittest.skipIf(WSL, 'VSOCK does not work on Microsoft WSL') @unittest.skipUnless(HAVE_SOCKET_VSOCK, 'VSOCK sockets required for this test.') @unittest.skipUnless(get_cid() != 2, @unittest.skipIf(get_cid() in (socket.VMADDR_CID_HOST, socket.VMADDR_CID_ANY), "This test can only be run on a virtual guest.") class ThreadedVSOCKSocketStreamTest(unittest.TestCase, ThreadableTest):
Expand Down