mirror of
				https://github.com/python/cpython.git
				synced 2025-10-30 21:21:22 +00:00 
			
		
		
		
	asyncio: Fix misc whitespace issues.
This commit is contained in:
		
							parent
							
								
									1c16537327
								
							
						
					
					
						commit
						a849be9c64
					
				
					 3 changed files with 15 additions and 13 deletions
				
			
		|  | @ -14,6 +14,7 @@ | ||||||
| 
 | 
 | ||||||
| _DEFAULT_LIMIT = 2**16 | _DEFAULT_LIMIT = 2**16 | ||||||
| 
 | 
 | ||||||
|  | 
 | ||||||
| class IncompleteReadError(EOFError): | class IncompleteReadError(EOFError): | ||||||
|     """ |     """ | ||||||
|     Incomplete read error. Attributes: |     Incomplete read error. Attributes: | ||||||
|  |  | ||||||
|  | @ -379,7 +379,6 @@ def foo(): | ||||||
|         self.assertAlmostEqual(0.1, loop.time()) |         self.assertAlmostEqual(0.1, loop.time()) | ||||||
|         self.assertEqual(foo_running, False) |         self.assertEqual(foo_running, False) | ||||||
| 
 | 
 | ||||||
| 
 |  | ||||||
|     def test_wait_for_blocking(self): |     def test_wait_for_blocking(self): | ||||||
|         loop = test_utils.TestLoop() |         loop = test_utils.TestLoop() | ||||||
|         self.addCleanup(loop.close) |         self.addCleanup(loop.close) | ||||||
|  | @ -388,7 +387,9 @@ def test_wait_for_blocking(self): | ||||||
|         def coro(): |         def coro(): | ||||||
|             return 'done' |             return 'done' | ||||||
| 
 | 
 | ||||||
|         res = loop.run_until_complete(asyncio.wait_for(coro(), timeout=None, loop=loop)) |         res = loop.run_until_complete(asyncio.wait_for(coro(), | ||||||
|  |                                                        timeout=None, | ||||||
|  |                                                        loop=loop)) | ||||||
|         self.assertEqual(res, 'done') |         self.assertEqual(res, 'done') | ||||||
| 
 | 
 | ||||||
|     def test_wait_for_with_global_loop(self): |     def test_wait_for_with_global_loop(self): | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Guido van Rossum
						Guido van Rossum