correctly have the test for issue #[C179 actually fail
This commit is contained in:
		
							parent
							
								
									1318df4f5b
								
							
						
					
					
						commit
						503addbf09
					
				| 
						 | 
				
			
			@ -1669,11 +1669,15 @@ class TestFuncargFactory:
 | 
			
		|||
        testdir.makepyfile("""
 | 
			
		||||
            import pytest
 | 
			
		||||
 | 
			
		||||
            @pytest.factory(scope='session')
 | 
			
		||||
            def arg1(missing):
 | 
			
		||||
            @pytest.factory()
 | 
			
		||||
            def fail(missing):
 | 
			
		||||
                return
 | 
			
		||||
 | 
			
		||||
            def test_missing(arg1):
 | 
			
		||||
            @pytest.factory()
 | 
			
		||||
            def call_fail(fail):
 | 
			
		||||
                return
 | 
			
		||||
 | 
			
		||||
            def test_missing(call_fail):
 | 
			
		||||
                pass
 | 
			
		||||
            """)
 | 
			
		||||
        result = testdir.runpytest()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue