いろいろ備忘録日記

主に .NET とか Go とか Flutter とか Python絡みのメモを公開しています。

2018-01-09から1日間の記事一覧

Pythonメモ-54 (py.test と pytest) (pytest, command, since version 3.0)

概要 普段お世話になっている pytest さんなのですが、ネットで情報みると py.testってなっているものと pytestってなっているものが あります。 バージョンが異なるのかなって思って見てみても $ py.test --version This is pytest version 3.3.0, imported…

Pythonメモ-53 (pytest から pudb 起動) (pytest, pudb, pdbcls, pudb.debugger)

概要 前回、前々回とpudbについて書きました。 devlights.hatenablog.com devlights.hatenablog.com pudbのdocument見ると、pytestからpudb起動も出来るとのこと。 Getting Started — pudb 2.0.1.7...1...4 documentation 普段からpytest使っているので、こ…

Pythonメモ-52 (ipython 上で pudb 起動) (ipython integration, pudb, %pudb, magic command)

概要 前回の続き devlights.hatenablog.com 前回で、pudbスゲーってなって、いろいろ見てみると ipython とも連携できるみたい。 PuDB/IPythonIntegration - Andreas Klöckner's wiki 試してみる てことで、前回の環境には ipython いれてなかったので入れる…

Pythonメモ-51 (PuDB -- コンソール上でIDEみたいなデバッグ環境) (pudb, pdb, full-screen console-based visual debugger for Python)

概要 twitter で以下のようなツイートを発見。 Trying to find a bug in your script? Rerun it with pdb as followspython -m pdb example.py(example.py and output attached)Too complicated? The text-GUI debugger pudb is here to helppython -m https…