Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gevent
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gevent
Commits
31ec0ac0
Commit
31ec0ac0
authored
Dec 18, 2020
by
Jason Madden
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Skip on CI
parent
fbcafa4f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
src/gevent/tests/test__greenlet.py
src/gevent/tests/test__greenlet.py
+7
-0
No files found.
src/gevent/tests/test__greenlet.py
View file @
31ec0ac0
...
...
@@ -598,6 +598,11 @@ class TestBasic(greentest.TestCase):
g
.
join
()
self
.
assertFalse
(
g
.
exc_info
)
@
greentest
.
skipOnCI
(
"Started getting a Fatal Python error on "
"Github Actions on 2020-12-18, even with recursion limits "
"in place. It was fine before that."
)
def
test_recursion_error
(
self
):
# https://github.com/gevent/gevent/issues/1704
# A RuntimeError: recursion depth exceeded
...
...
@@ -607,6 +612,8 @@ class TestBasic(greentest.TestCase):
# systems, actually exhausting the stack results in "Fatal
# Python error: Cannot recover from stack overflow.". So we
# need to use a low recursion limit so that doesn't happen.
# Doesn't seem to help though.
# See https://github.com/gevent/gevent/runs/1577692901?check_suite_focus=true#step:21:46
import
sys
limit
=
sys
.
getrecursionlimit
()
self
.
addCleanup
(
sys
.
setrecursionlimit
,
limit
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment