From 05d4a3f9eb9e298e9268248b4ad62e1084e856ca Mon Sep 17 00:00:00 2001 From: Dj Gilcrease Date: Thu, 2 Oct 2014 21:27:19 +0000 Subject: [PATCH] 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 --- _pytest/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_pytest/main.py b/_pytest/main.py index 2d46c56e8..66b951185 100644 --- a/_pytest/main.py +++ b/_pytest/main.py @@ -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",