| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
Appear as:
ResourceWarning: unclosed file ...
Always explicitly close files or detach file wrappers.
|
| |
|
|
|
|
| |
This one I couldn't get to pass on my attempt
|
|
|
|
|
|
|
|
| |
* Add `--encoding` option with default utf-8
* Make sure input and output are in same encoding
* Add test cases
Signed-off-by: Tao Wang <twang2218@gmail.com>
|
| |
|
|
|
|
| |
http://stackoverflow.com/questions/34466027/what-is-the-use-of-conftest-py
|
| |
|
|
References:
http://stackoverflow.com/questions/18160078/how-do-you-write-tests-for-the-argparse-portion-of-a-python-module
http://dustinrcollins.com/testing-python-command-line-apps
https://github.com/mdklatt/cookiecutter-python-app
|