Matt, I think the eventlet.Timeout thing is a red herring. fixtures.Timeout uses the signal module from the standard Python library to interrupt the process after timeout_secs. It does not use eventlet.Timeout. That said, there are two places I found that are incorrectly using eventlet.timeout.Timeout() without a context manager or calling close():
Matt, I think the eventlet.Timeout thing is a red herring. fixtures.Timeout uses the signal module from the standard Python library to interrupt the process after timeout_secs. It does not use eventlet.Timeout. That said, there are two places I found that are incorrectly using eventlet. timeout. Timeout( ) without a context manager or calling close():
jaypipes@ cranky: ~/repos/ openstack/ nova/nova$ ack-grep "Timeout\(" libvirt/ test_driver. py timeout. Timeout( )
tests/virt/
8925: raise eventlet.
tests/virt/ hyperv/ test_vmops. py timeout. side_effect = etimeout.Timeout()
196: mock_with_