Thanks to visit codestin.com Credit goes to github.com
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 8122e8d commit c0012dfCopy full SHA for c0012df
1 file changed
Lib/test/test_signal.py
@@ -121,6 +121,9 @@ def test_valid_signals(self):
121
for name in dir(signal):
122
if not name.startswith("SIG"):
123
continue
124
+ if name in {"SIG_IGN", "SIG_DFL"}:
125
+ # SIG_IGN and SIG_DFL are pointers
126
+ continue
127
with self.subTest(name=name):
128
signum = getattr(signal, name)
129
self.assertGreaterEqual(signum, 0)
0 commit comments