Fix failing test on OS X / py35

A 100 recursion limit was too low in that environment.
This commit is contained in:
Virgil Dupras 2016-07-01 15:29:50 -04:00
parent d660cef245
commit 9f2c3e7732
1 changed files with 2 additions and 2 deletions

View File

@ -455,8 +455,8 @@ class TestCaseGetMatches:
def test_dont_recurse_do_match(self):
# with nosetests, the stack is increased. The number has to be high enough not to be failing falsely
sys.setrecursionlimit(100)
files = [NamedObject('foo bar') for i in range(101)]
sys.setrecursionlimit(200)
files = [NamedObject('foo bar') for i in range(201)]
try:
getmatches(files)
except RuntimeError: