Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add doctest to tox.ini #68

Closed
tkem opened this issue Apr 1, 2016 · 3 comments
Closed

Add doctest to tox.ini #68

tkem opened this issue Apr 1, 2016 · 3 comments

Comments

@tkem
Copy link
Owner

tkem commented Apr 1, 2016

Need to refactor code samples wrt dict ordering first.

@tkem tkem added this to the v1.2.0 milestone Apr 1, 2016
@tkem tkem modified the milestones: v2.0.0, v1.2.0 Sep 27, 2016
tkem added a commit that referenced this issue May 11, 2018
@tkem tkem modified the milestones: v2.1.0, v3.0.0 May 12, 2018
@tkem
Copy link
Owner Author

tkem commented May 19, 2018

@tkem
Copy link
Owner Author

tkem commented May 19, 2018

Using Sphinx doctest could circumvent some issues with Python 2.7, since all the doctests should now target Python 3.4 at least, e.g.

.. doctest::
   :pyversion: > 3.3

@tkem tkem removed this from the v3.0.0 milestone Oct 27, 2018
@tkem
Copy link
Owner Author

tkem commented Oct 31, 2018

Using Sphinx doctest, we may also use something like

>>> datetime.date.now()   # doctest: +SKIP
datetime.date(2008, 1, 1)

e.g. to get away with timings, etc.

tkem added a commit that referenced this issue Nov 3, 2018
@tkem tkem closed this as completed in 2cde6ef Nov 4, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant