summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-12-15 17:06:36 (GMT)
committerGitHub <noreply@github.com>2020-12-15 17:06:36 (GMT)
commit7f14a3756b61272cc15f24302589874b125c2f04 (patch)
treea0030d3777581638ecc38521eb9fc944b1f540f5 /Misc
parentc8a10d2fabff492ab352501c316baf5f2fc6510e (diff)
downloadcpython-7f14a3756b61272cc15f24302589874b125c2f04.zip
cpython-7f14a3756b61272cc15f24302589874b125c2f04.tar.gz
cpython-7f14a3756b61272cc15f24302589874b125c2f04.tar.bz2
bpo-42641: Enhance test_select.test_select() (GH-23782)
Enhance test_select.test_select(): it now takes 500 ms rather than 10 seconds. * Use Python rather than a shell as the child process to make the test more portable. * Use a sleep of 50 ms per line rather than 1 second. * Use subprocess.Popen rather than os.popen().
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Tests/2020-12-15-17-38-04.bpo-42641.uzwlF_.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Tests/2020-12-15-17-38-04.bpo-42641.uzwlF_.rst b/Misc/NEWS.d/next/Tests/2020-12-15-17-38-04.bpo-42641.uzwlF_.rst
new file mode 100644
index 0000000..bf890b7
--- /dev/null
+++ b/Misc/NEWS.d/next/Tests/2020-12-15-17-38-04.bpo-42641.uzwlF_.rst
@@ -0,0 +1,2 @@
+Enhance ``test_select.test_select()``: it now takes 500 ms rather than 10
+seconds. Use Python rather than a shell to make the test more portable.