Merge pull request #7315 from bluetech/rm-__multicall__
testing: change a test to not use deprecated pluggy __multicall__ protocol
This commit is contained in:
		
						commit
						e75531791d
					
				| 
						 | 
					@ -506,9 +506,10 @@ def test_runtest_in_module_ordering(testdir) -> None:
 | 
				
			||||||
            @pytest.fixture
 | 
					            @pytest.fixture
 | 
				
			||||||
            def mylist(self, request):
 | 
					            def mylist(self, request):
 | 
				
			||||||
                return request.function.mylist
 | 
					                return request.function.mylist
 | 
				
			||||||
            def pytest_runtest_call(self, item, __multicall__):
 | 
					            @pytest.hookimpl(hookwrapper=True)
 | 
				
			||||||
 | 
					            def pytest_runtest_call(self, item):
 | 
				
			||||||
                try:
 | 
					                try:
 | 
				
			||||||
                    __multicall__.execute()
 | 
					                    (yield).get_result()
 | 
				
			||||||
                except ValueError:
 | 
					                except ValueError:
 | 
				
			||||||
                    pass
 | 
					                    pass
 | 
				
			||||||
            def test_hello1(self, mylist):
 | 
					            def test_hello1(self, mylist):
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue