diff options
| author | Christian Heimes <christian@python.org> | 2022-05-06 10:08:36 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-06 10:08:36 (GMT) |
| commit | cbc2c199a071d4d94b92c835324bf2ab721bb507 (patch) | |
| tree | a292efe8ce050ef5fa3207ac1ab53c2002e28cdb /Lib/test/test_timeout.py | |
| parent | 291945bc6e4f2a46d8229fd2fcb181b52657cc8a (diff) | |
| download | cpython-cbc2c199a071d4d94b92c835324bf2ab721bb507.zip cpython-cbc2c199a071d4d94b92c835324bf2ab721bb507.tar.gz cpython-cbc2c199a071d4d94b92c835324bf2ab721bb507.tar.bz2 | |
gh-84461: Skip network require tests on Emscripten (GH-92383)
Diffstat (limited to 'Lib/test/test_timeout.py')
| -rw-r--r-- | Lib/test/test_timeout.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Lib/test/test_timeout.py b/Lib/test/test_timeout.py index 70a0175..fa85c7e 100644 --- a/Lib/test/test_timeout.py +++ b/Lib/test/test_timeout.py @@ -5,9 +5,6 @@ import unittest from test import support from test.support import socket_helper -# This requires the 'network' resource as given on the regrtest command line. -skip_expected = not support.is_resource_enabled('network') - import time import errno import socket @@ -292,6 +289,7 @@ class UDPTimeoutTestCase(TimeoutTestCase): def setUpModule(): support.requires('network') + support.requires_working_socket(module=True) if __name__ == "__main__": |
