change the defaults from a tuple to a list so I can use config.addinivalue_line("norecursedirs", "...") to append new options in my own plugins
This commit is contained in:
		
							parent
							
								
									c7a45d6eaf
								
							
						
					
					
						commit
						05d4a3f9eb
					
				| 
						 | 
				
			
			@ -24,7 +24,7 @@ name_re = re.compile("^[a-zA-Z_]\w*$")
 | 
			
		|||
 | 
			
		||||
def pytest_addoption(parser):
 | 
			
		||||
    parser.addini("norecursedirs", "directory patterns to avoid for recursion",
 | 
			
		||||
        type="args", default=('.*', 'CVS', '_darcs', '{arch}', '*.egg'))
 | 
			
		||||
        type="args", default=['.*', 'CVS', '_darcs', '{arch}', '*.egg'])
 | 
			
		||||
    #parser.addini("dirpatterns",
 | 
			
		||||
    #    "patterns specifying possible locations of test files",
 | 
			
		||||
    #    type="linelist", default=["**/test_*.txt",
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue