-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix up places that treated warnings as Exceptions and enable doctests (…
…#7) * Fix documentation: warnings aren't exceptions run() will warn, not raise an exception, if the FPGA is already running. Fix examples to reflect this. Also fixup the indentation. * remove dead code Since warnings aren't exceptions, this code path is dead. * Fix documentation and turn it into a doctest Rework the documentation to demonstrate how to handle a warning, and turn it into a doctest so it doesn't become stale again.
- Loading branch information
1 parent
6e5b95b
commit c974498
Showing
5 changed files
with
34 additions
and
30 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,4 +10,4 @@ install: | |
before_script: | ||
- "flake8 nifpga --ignore=E501" | ||
script: | ||
- "nosetests" | ||
- "nosetests --with-doctest" |
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
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