]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 2 Feb 2025 05:04:45 +0000 (06:04 +0100)
committerGitHub <noreply@github.com>
Sun, 2 Feb 2025 05:04:45 +0000 (05:04 +0000)
commit368ba55819cc44d7fe6c364845dbd3725e2f70d4
treed477ea2678831138c66bbe61456ea583d7e7be85
parent580d7810946ba13f07847c0deab89c0edfe01cb7
[3.12] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) (#129565)

gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561)

Restore the skipUnless removed by GH-119465.

This test can only pass on virtual machines, not actual machines.

actual machines see:

```
    self.cli.connect((cid, VSOCKPORT))
    ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^
OSError: [Errno 19] No such device
```

Reproduced on (Linux) Ubuntu 24.04.1 running 6.8.0-52-generic.
(cherry picked from commit e1006ce1ded1b18972888ef057718dba6f2c7edd)

Co-authored-by: Gregory P. Smith <greg@krypto.org>
Lib/test/test_socket.py