Remove superfluous `monkeypatch` arg to test_color_yes
--HG-- branch : color_option
This commit is contained in:
		
							parent
							
								
									bec6ee5c29
								
							
						
					
					
						commit
						60f5b15f20
					
				| 
						 | 
					@ -498,7 +498,7 @@ def test_fail_reporting_on_pass(testdir):
 | 
				
			||||||
    result = testdir.runpytest('-rf')
 | 
					    result = testdir.runpytest('-rf')
 | 
				
			||||||
    assert 'short test summary' not in result.stdout.str()
 | 
					    assert 'short test summary' not in result.stdout.str()
 | 
				
			||||||
 | 
					
 | 
				
			||||||
def test_color_yes(testdir, monkeypatch):
 | 
					def test_color_yes(testdir):
 | 
				
			||||||
    testdir.makepyfile("def test_this(): assert 1")
 | 
					    testdir.makepyfile("def test_this(): assert 1")
 | 
				
			||||||
    result = testdir.runpytest('--color=yes')
 | 
					    result = testdir.runpytest('--color=yes')
 | 
				
			||||||
    assert 'test session starts' in result.stdout.str()
 | 
					    assert 'test session starts' in result.stdout.str()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue