call site 10 for execnet.PopenGateway.__init__
c-extension/greenlet/test_remote.py - line 49
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
   def test_rgreenlet():
->     gw = py.execnet.PopenGateway()
       bunch = RGreenletBunch(gw)
       g = bunch.greenlet('''
           x = greenlet.getcurrent().parent.switch(42)
           y = greenlet.getcurrent().parent.switch(x+1)
           greenlet.getcurrent().parent.switch(y+2)
           import os
           greenlet.getcurrent().parent.switch(os.getpid())
       ''')
       result = g.switch()
       assert result == 42
       result = g.switch(102)
       assert result == 103
       result = g.switch(-93)
       assert result == -91
       import os
       result = g.switch()
       assert result != os.getpid()