<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>nikkie-ftnext</author_name>
  <author_url>https://blog.hatena.ne.jp/nikkie-ftnext/</author_url>
  <blog_title>nikkie-ftnextの日記</blog_title>
  <blog_url>https://nikkie-ftnext.hatenablog.com/</blog_url>
  <categories>
    <anon>Python core</anon>
  </categories>
  <description>はじめに Act-4、最高だった...😭 余韻の真っ只中のnikkieです。 表題の件について、違いを知ったので記します。 鍵を握るのはsys.pathです 目次 はじめに 目次 pytestのドキュメントより sys.pathのドキュメント 結論：pytestとpython -m pytestはここが違う！ sys.pathが変わることを動作確認 sys.pathを確認する実装 動作確認 思い出した過去記事 終わりに pytestのドキュメントより ドキュメント「How to invoke pytest」に「Calling pytest through python -m pytest」があ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fnikkie-ftnext.hatenablog.com%2Fentry%2Fpython-m-option-prepend-current-directory-to-sys-path&quot; title=&quot;pip installとpython -m pip install、pytestとpython -m pytestは何が違う？ python -mとsys.pathの秘密 - nikkie-ftnextの日記&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>2024-02-26 23:51:02</published>
  <title>pip installとpython -m pip install、pytestとpython -m pytestは何が違う？ python -mとsys.pathの秘密</title>
  <type>rich</type>
  <url>https://nikkie-ftnext.hatenablog.com/entry/python-m-option-prepend-current-directory-to-sys-path</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
