We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0926b93 commit 604654eCopy full SHA for 604654e
graalpython/com.oracle.graal.python.test/src/tests/test_signal.py
@@ -38,7 +38,7 @@
38
# SOFTWARE.
39
40
import unittest
41
-import sys
+
42
43
class SignalTests(unittest.TestCase):
44
def test_args_validation(self):
@@ -63,8 +63,6 @@ def test_alarm2():
63
64
def handler(signal, frame):
65
nonlocal triggered
66
- caller_code = sys._getframe(1).f_code
67
- assert caller_code == test_alarm2.__code__, "expected: '%s' but was '%s'" % (test_alarm2.__code__, caller_code)
68
triggered = (signal, frame)
69
70
oldhandler = _signal.signal(_signal.SIGALRM, handler)
0 commit comments