mirror of
				https://github.com/ets-labs/python-dependency-injector.git
				synced 2025-11-04 18:07:44 +03:00 
			
		
		
		
	Merge branch 'python3.11' into gen/python3.11-support
This commit is contained in:
		
						commit
						81cc688c33
					
				
							
								
								
									
										2
									
								
								.github/workflows/tests-and-linters.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								.github/workflows/tests-and-linters.yml
									
									
									
									
										vendored
									
									
								
							| 
						 | 
				
			
			@ -9,7 +9,7 @@ jobs:
 | 
			
		|||
    runs-on: ubuntu-latest
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, "3.10", "3.11", pypy2, pypy3]
 | 
			
		||||
        python-version: [2.7, 3.5, 3.6, 3.7, 3.8, 3.9, 3.10, 3.11, pypy2, pypy3]
 | 
			
		||||
    steps:
 | 
			
		||||
      - uses: actions/checkout@v2
 | 
			
		||||
      - uses: actions/setup-python@v2
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -16,6 +16,7 @@ def test_inheritance():
 | 
			
		|||
@mark.skipif(sys.version_info > (3, 10), reason="asyncio.coroutine removed in 3.11")
 | 
			
		||||
@mark.asyncio
 | 
			
		||||
@mark.filterwarnings("ignore")
 | 
			
		||||
@mark.skipif(sys.version_info >= (3, 11), reason="Cannot be executed on Python 3.11 or newer")
 | 
			
		||||
async def test_call_overridden_by_coroutine():
 | 
			
		||||
    @asyncio.coroutine
 | 
			
		||||
    def abstract_example():
 | 
			
		||||
| 
						 | 
				
			
			@ -31,6 +32,7 @@ async def test_call_overridden_by_coroutine():
 | 
			
		|||
@mark.skipif(sys.version_info > (3, 10), reason="asyncio.coroutine removed in 3.11")
 | 
			
		||||
@mark.asyncio
 | 
			
		||||
@mark.filterwarnings("ignore")
 | 
			
		||||
@mark.skipif(sys.version_info >= (3, 11), reason="Cannot be executed on Python 3.11 or newer")
 | 
			
		||||
async def test_call_overridden_by_delegated_coroutine():
 | 
			
		||||
    @asyncio.coroutine
 | 
			
		||||
    def abstract_example():
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user