interp = interpreters.create()
r, s = interpreters.create_channel()
def run():
    interp.run(tw.dedent("""
        reader.recv()
        print("w trakcie")
        reader.close()
        """),
        shared=dict(
            reader=r,
            ),
        )
t = threading.Thread(target=run)
print('przed')
t.start()
print('po')
s.send(b'')
s.close()
