]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] 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:11:30 +0000 (06:11 +0100)
committerGitHub <noreply@github.com>
Sun, 2 Feb 2025 05:11:30 +0000 (05:11 +0000)
commit1459d08b56c6c7135ac904074c4a4225b2d44cbd
treee75864ecd50ce24839cb03f086e57715d9ea5f6e
parent2d60dcfda9e7277b28094d68eaeb5591242302fd
[3.13] gh-119461: Restore the testSocket VSOCK skipUnless removed by PR GH-119465 (GH-129561) (#129564)

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