The evaluation scripts of JMTEB (Japanese Massive Text Embedding Benchmark)
Creative Commons Attribution Share Alike 4.0 International
25
stars
5
forks
source link
pytestのフィクスチャをテスト間で共有するには、importではなくconftest.pyを使う #2
Closed
ftnext closed 6 months ago
関連する Issue / PR
1 が大きいので、変更を小さく切り出してPRを送ります
PR をマージした後の挙動の変化
pytestのフィクスチャの共有をあるべきやり方に修正します。 挙動の変化はありません
挙動の変更を達成するために行ったこと
conftest.pyを使ってフィクスチャを共有するようにしました。 参考までに拙ブログです:https://nikkie-ftnext.hatenablog.com/entry/share-pytest-fixtures-with-conftestpy
動作確認