Upon further investigation, the problem seems to be that the test apps that are launched by that test leak their stdout descriptor.
What's interesting is if I run:
python -c "from gi.repository import Gio; Gio.DesktopAppInfo.new('gcalctool.desktop').launch_uris([], None)" | tee /tmp/foo
tee will exit as soon as I click the close button on the window. The test code closes the window by sending the NET_WM_CLOSE EWMH signal, which, AFAICT, should be the same thing.
Upon further investigation, the problem seems to be that the test apps that are launched by that test leak their stdout descriptor.
What's interesting is if I run:
python -c "from gi.repository import Gio; Gio.DesktopAppI nfo.new( 'gcalctool. desktop' ).launch_ uris([] , None)" | tee /tmp/foo
tee will exit as soon as I click the close button on the window. The test code closes the window by sending the NET_WM_CLOSE EWMH signal, which, AFAICT, should be the same thing.