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

--HG--
branch : dgilcrease/change-defaults-from-a-tuple-to-a-list-1412285169250
This commit is contained in:
Dj Gilcrease 2014-10-02 21:27:19 +00:00
parent 9e549a1acf
commit fd2572a39d
1 changed files with 1 additions and 1 deletions

View File

@ -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",