Skip to content

Commit 29f2e0a

Browse files
committed
Raise recursion limit for tests.
1 parent b4a39d9 commit 29f2e0a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/test_regressions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -457,11 +457,11 @@ def test_primary_key_issue740():
457457
@pytest.fixture
458458
def limit_recursion():
459459
curr_limit = sys.getrecursionlimit()
460-
sys.setrecursionlimit(70)
460+
sys.setrecursionlimit(100)
461461
yield
462462
sys.setrecursionlimit(curr_limit)
463463

464464

465465
def test_max_recursion(limit_recursion):
466466
with pytest.raises(SQLParseError):
467-
sqlparse.parse('[' * 100 + ']' * 100)
467+
sqlparse.parse('[' * 1000 + ']' * 1000)

0 commit comments

Comments
 (0)