mirror of
https://github.com/arsenetar/dupeguru.git
synced 2025-03-09 21:24:36 +00:00
Fix failing test on OS X / py35
A 100 recursion limit was too low in that environment.
This commit is contained in:
parent
d660cef245
commit
9f2c3e7732
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user