Closed sabonerune closed 3 months ago
pytest実行時にDeprecationWarningが発生する問題を修正します。
DeprecationWarning
TestModelというクラス名がテストコードであると判定されていることが原因でした。 とりあえず_TestModelにリネームして修正します。 https://docs.pytest.org/en/8.2.x/explanation/goodpractices.html#test-discovery
TestModel
_TestModel
内容
pytest実行時に
DeprecationWarning
が発生する問題を修正します。その他
TestModel
というクラス名がテストコードであると判定されていることが原因でした。 とりあえず_TestModel
にリネームして修正します。 https://docs.pytest.org/en/8.2.x/explanation/goodpractices.html#test-discovery