mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	Issue #19599: Increase sleep period.
This commit is contained in:
		
							parent
							
								
									8731d7b3c6
								
							
						
					
					
						commit
						46b4a5e51e
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		|  | @ -1714,7 +1714,7 @@ def test_async(self): | |||
|         self.assertTimingAlmostEqual(get.elapsed, TIMEOUT1) | ||||
| 
 | ||||
|     def test_async_timeout(self): | ||||
|         res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 0.2)) | ||||
|         res = self.pool.apply_async(sqr, (6, TIMEOUT2 + 1.0)) | ||||
|         get = TimingWrapper(res.get) | ||||
|         self.assertRaises(multiprocessing.TimeoutError, get, timeout=TIMEOUT2) | ||||
|         self.assertTimingAlmostEqual(get.elapsed, TIMEOUT2) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Richard Oudkerk
						Richard Oudkerk