mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 05:31:20 +00:00 
			
		
		
		
	asyncio: Oops, restore a removed test
This commit is contained in:
		
							parent
							
								
									5c867018f0
								
							
						
					
					
						commit
						c4cca45baf
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		|  | @ -1529,6 +1529,9 @@ def call(arg): | |||
|     def test_corowrapper_weakref(self): | ||||
|         wd = weakref.WeakValueDictionary() | ||||
|         def foo(): yield from [] | ||||
|         cw = asyncio.tasks.CoroWrapper(foo(), foo) | ||||
|         wd['cw'] = cw  # Would fail without __weakref__ slot. | ||||
|         cw.gen = None  # Suppress warning from __del__. | ||||
| 
 | ||||
|     @unittest.skipUnless(PY34, | ||||
|                          'need python 3.4 or later') | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Victor Stinner
						Victor Stinner