summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorReid Kleckner <reid@kleckner.net>2011-03-14 23:32:41 (GMT)
committerReid Kleckner <reid@kleckner.net>2011-03-14 23:32:41 (GMT)
commit93479ccbf00ec868dfc9012997c78cc0e57d688e (patch)
tree7b76409feb7051a5f3bd47f79eca24b7126caaca /Lib
parent80b92d106e8165afcbcf8246a08b9e7a117e73e7 (diff)
downloadcpython-93479ccbf00ec868dfc9012997c78cc0e57d688e.zip
cpython-93479ccbf00ec868dfc9012997c78cc0e57d688e.tar.gz
cpython-93479ccbf00ec868dfc9012997c78cc0e57d688e.tar.bz2
Tweak subprocess test timeouts to satisfy the buildbot.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/test/test_subprocess.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_subprocess.py b/Lib/test/test_subprocess.py
index 782d9f1..984a879 100644
--- a/Lib/test/test_subprocess.py
+++ b/Lib/test/test_subprocess.py
@@ -621,8 +621,8 @@ class ProcessTestCase(BaseTestCase):
def test_wait_timeout(self):
p = subprocess.Popen([sys.executable,
- "-c", "import time; time.sleep(1)"])
- self.assertRaises(subprocess.TimeoutExpired, p.wait, timeout=0.1)
+ "-c", "import time; time.sleep(0.1)"])
+ self.assertRaises(subprocess.TimeoutExpired, p.wait, timeout=0.01)
self.assertEqual(p.wait(timeout=2), 0)