Message228742
I'm writing a little web server using aiohttp. I tried to write a unit test...since this is a client server situation I launched the asyncio program in a thread and did a urlopen from the main thread. That all works fine...the problem is in the cleanup code. When I try to stop the server I created via create_server, I get the error in the title.
I've attached a stripped down version of my attempted unit test. It does require aiohttp...I'm not well enough versed in asyncio yet to rewrite it using more fundamental pieces.
I may be doing something stupid here, but it seems to me that even if I am close should not throw this error (the error implies that it is already shut down, so I'd think the close would be a no-op). |
|
Date |
User |
Action |
Args |
2014-10-06 22:22:22 | r.david.murray | set | recipients:
+ r.david.murray, gvanrossum, vstinner, yselivanov |
2014-10-06 22:22:22 | r.david.murray | set | messageid: <1412634142.26.0.655419754682.issue22572@psf.upfronthosting.co.za> |
2014-10-06 22:22:22 | r.david.murray | link | issue22572 messages |
2014-10-06 22:22:22 | r.david.murray | create | |
|