いろいろめも(unicode/Pikzie/vim) 2010.06
2010-06-02 - ⧖ 1.0 minUnicode
$ printf "\u2600\n"
☀
$ printf "\u2601\n"
☁
$ printf "\u2602\n"
☂
$ printf "\u2603\n"
☃
$ printf "\u263d\n"
☽
$ printf "\u263e\n"
☾
$
Pikzie 0.9.7でテスト実行動作がおかしい?
毎回このブログにバグレポートしてすみません。 恐らく0.9.6の修正で動作が変わったっぽいのですが、テストスクリプトを実行すると テストファイル格納ディレクトリすべてのテストを実行しているように見えます。 テストスクリプトが一つの場合、2回実行されてしまいます。
テストを集めてくる所の動作が変わったぽく見えてますが、追いきれてません。 意図通りの動作なのかバグなのか。。。
pyprof2htmlだと以下のようになります。
[ディレクトリ構成 ]
pyprof2html / pyprof2html .py # このファイルがテストターゲット
test / test_pyprof2html .py # テストスクリプト
[0.9 .5 の動作 ]
$ python test / test_pyprof2html .py
.....................................
Finished in 1.049 seconds
37 test (s ), 43 assertion (s ), 0 failure (s ), 0 error (s ), 0 pending (s ), 0 notification (s )
[0.9 .7 の動作 ]
$ python test / test_pyprof2html .pyprof2html
..........................................................................
Finished in 1.297 seconds
74 test (s ), 86 assertion (s ), 0 failure (s ), 0 error (s ), 0 pending (s ), 0 omission (s ), 0 notification (s )
もう少し追ってみたいと思っています。
追記(2010.08.03) 上記の問題は修正されました。(コミット権をいただいて、パッチを取り込みました。kouさん、毎回素早い対応ありがとうございます。)
http://pikzie.svn.sourceforge.net/viewvc/pikzie?revision=275&view=revision
flyquickfixmake.vim
On/Offの切り替えと、チェッカーの種類切り替えをそれぞれ、Ctrl+F、Ctrl+Pに 変更しました。これでpキーでのコピーのモッサリ感がなくなりました。
http://www.hexacosa.net/hgrepos/my-dot-vim/rev/c2a38fca8fdc
その他
エキスパートPythonプログラミング 買いました。 まだほんのちょっとしか読んでませんが、めちゃくちゃおもしろいです。