Skip to content

Commit

Permalink
Rollup merge of rust-lang#43046 - milmazz:bootstrap-unittest, r=aidanhs
Browse files Browse the repository at this point in the history
bootstrap: Add doctests and unitests

This commit includes the following changes:

* Include more docstrings in classes, methods, and functions
* Add doctests, which are great for self-documenting our source code
* Add some unit tests with the `unittest` module
* Remove `WindowsError` reference on non-windows systems
* Rename some variables to be more explicit about their meaning
* Move all the attributes defined outside of `__init__`
* Add initial support for Python 3

r? @alexcrichton
  • Loading branch information
TimNN committed Jul 21, 2017
2 parents d361efa + 22f36db commit dfb64a2
Show file tree
Hide file tree
Showing 3 changed files with 425 additions and 201 deletions.
Loading

0 comments on commit dfb64a2

Please sign in to comment.