-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from mmerickel/doctests
Use Sybil to put code samples in Sphinx under some kind of testing.
- Loading branch information
Showing
7 changed files
with
55 additions
and
80 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
from doctest import ELLIPSIS | ||
from sybil import Sybil | ||
from sybil.parsers.codeblock import CodeBlockParser | ||
from sybil.parsers.doctest import DocTestParser, FIX_BYTE_UNICODE_REPR | ||
|
||
pytest_collect_file = Sybil( | ||
parsers=[ | ||
DocTestParser(optionflags=ELLIPSIS | FIX_BYTE_UNICODE_REPR), | ||
CodeBlockParser(future_imports=['print_function']), | ||
], | ||
pattern='index.rst', | ||
).pytest() |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,3 +20,5 @@ xfail_strict = true | |
testpaths = | ||
src/wired | ||
tests | ||
docs | ||
|
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.