-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Test code doesn't need to manually construct a TestSuite and a TextTestRunner, the unittest module has a discovery function that does all this for you. Delete all of the manual logic from tests.py, replace it with the two lines to bring in the doctest unit tests, and update the makefile to run the unittest discovery.
- Loading branch information
1 parent
a95c26f
commit 04a864f
Showing
2 changed files
with
5 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters