<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>hirokiky</author_name>
  <author_url>https://blog.hatena.ne.jp/hirokiky/</author_url>
  <blog_title>Make組ブログ</blog_title>
  <blog_url>https://blog.hirokiky.org/</blog_url>
  <categories>
  </categories>
  <description>pytest-asyncio と pytest-aiohttp を同時に使うと、テストの中で使うイベントループが別のものになってしまってエラーが出ます。 RuntimeError: Task &lt;Task pending coro=&lt;...&gt; cb=[...]&gt; got Future &lt;Future pending&gt; attached to a different loop github.com github.com aiohttpを使ってるWebアプリのテストを書くときは pytest-aiohttp に寄せたほうが良さそうです。 pytest-aiohttp を使えば loop のフィクスチ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fblog.hirokiky.org%2Fentry%2F2019%2F01%2F05%2F190258&quot; title=&quot;pytest-asyncioとpytest-aiohttpを一緒に使うとRuntimeError got Future attached to a different loopがでる - Make組ブログ&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2019-01-05 19:02:58</published>
  <title>pytest-asyncioとpytest-aiohttpを一緒に使うとRuntimeError got Future attached to a different loopがでる</title>
  <type>rich</type>
  <url>https://blog.hirokiky.org/entry/2019/01/05/190258</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
