mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 01:47:36 +03:00 
			
		
		
		
	Try fix Python 3.4 tests
This commit is contained in:
		
							parent
							
								
									8598b54ab1
								
							
						
					
					
						commit
						9161b01e97
					
				| 
						 | 
				
			
			@ -20,7 +20,7 @@ def _example(arg1, arg2, arg3, arg4):
 | 
			
		|||
 | 
			
		||||
 | 
			
		||||
def _run(coro, debug=False):
 | 
			
		||||
    if events._get_running_loop() is not None:
 | 
			
		||||
    if asyncio._get_running_loop() is not None:
 | 
			
		||||
        raise RuntimeError(
 | 
			
		||||
            "asyncio.run() cannot be called from a running event loop")
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user