<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>cookie-box</author_name>
  <author_url>https://blog.hatena.ne.jp/cookie-box/</author_url>
  <blog_title>クッキーの日記</blog_title>
  <blog_url>https://cookie-box.hatenablog.com/</blog_url>
  <categories>
    <anon>雑記</anon>
  </categories>
  <description>Output appears in &quot;Captured stderr call&quot; but is unavailable in capsys or capfd · Issue #5997 · pytest-dev/pytest · GitHub 以下のように Pokemon というクラスを実装したとします。Pokemon クラスは types を渡してインスタンス化しますが、types の長さが 1 か 2 でなかったときに WARNING をロギングし、標準エラー出力します。 import logging logger = logging.getLogger(__name__) handler…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fcookie-box.hatenablog.com%2Fentry%2F2021%2F10%2F19%2F012853&quot; title=&quot;雑記 - クッキーの日記&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>2021-10-19 01:28:53</published>
  <title>雑記</title>
  <type>rich</type>
  <url>https://cookie-box.hatenablog.com/entry/2021/10/19/012853</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
