Skip to content

Commit 9bf7d01

Browse files
committed
Increase recursion limit for python, needed to fix travis build error
Three tests are failing in declarations_comparison_tester with: RecursionError: maximum recursion depth exceeded Cherry-picked from the develop branch
1 parent 4398696 commit 9bf7d01

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

unittests/autoconfig.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@
77
import sys
88
import logging
99

10+
# Prevents copy.deepcopy RecursionError in some tests (Travis build)
11+
sys.setrecursionlimit(10000)
12+
1013
this_module_dir_path = os.path.abspath(
1114
os.path.dirname(sys.modules[__name__].__file__))
1215

0 commit comments

Comments
 (0)