Commit c97c60aa authored by Denis Bilenko's avatar Denis Bilenko

check signal's "ref"

parent 04fa3939
......@@ -21,6 +21,10 @@ if hasattr(signal, 'SIGALRM'):
def test(self):
sig = gevent.signal(signal.SIGALRM, raise_Expected)
assert sig.ref is False, repr(sig.ref)
sig.ref = True
assert sig.ref is True
sig.ref = False
try:
signal.alarm(1)
try:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment