Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
nosetestsを使用していくつかのスクリプトをテストしています。しかし、nosetestsを実行すると、ログが出力されます。ロギング情報をsys.stderrに保存することは知っています。これが画面に出力されないようにする方法を知っている人はいますか?
単体テストを通常どおり実行するときのように、テスト結果を出力したいだけです。
助けてくれてありがとう
答えを見つけた、
nosetests test* --nologcapture --nocapture
これをコマンドラインで実行します。
ありがとう